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
This commit is contained in:
Morten Sjøgren
2018-10-05 16:12:45 +02:00
committed by Alexander Vakrilov
parent c3fabd66f7
commit 1232d1edfd
9 changed files with 40 additions and 53 deletions

View File

@@ -13,7 +13,8 @@
}
},
"dependencies": {
"tns-core-modules": "*"
"tns-core-modules": "*",
"tslib": "^1.9.3"
},
"devDependencies": {
"babel-traverse": "6.9.0",