Files
Morten Sjøgren 1232d1edfd feat(tslib): add tslib helpers to global (#6351)
* feat(tslib): add tslib helpers to global

* Adds tslib as a dependency to tns-core-modules
* Replaces globals/decorators with globals/tslib
* Adds support for async/await, rest and spread operators.

* refactor: rename tslib to ts-helpers to avoid confusion with npm package
2018-10-05 17:12:45 +03:00
..
2016-05-26 14:30:25 +03:00

Globals module for defining functions part of the global context - you need only to call require for this module and all globals will be registered. For example:

    require("globals");

	setTimeout(function(){ console.log("Test"); }, 2000);

Global functions/objects are: setTimeout, clearTimeout, setInterval, clearInterval and console.