Commit Graph

14 Commits

Author SHA1 Message Date
Panayot Cankov
8adb2fdfef Fix TypeScript 2.4 errors, introduced mainly due weak types and covariant checking for callbacks (#4476) 2017-07-03 11:57:00 +03:00
Panayot Cankov
1420fa8fcc Fixes the old snapshot build (#4457) 2017-06-27 13:50:08 +03:00
Panayot Cankov
bbffa5480e Used the wrong flag to check if snapshot was enabled (#4446) 2017-06-23 17:30:41 +03:00
Panayot Cankov
b94a61f9a5 Globals in snapshot are overriden by the V8 on start, so they have to be installed later (#4387) 2017-06-15 10:36:50 +03:00
Peter Kanev
317781781b attach android console implementation always when android snapshot is enabled 2017-03-21 11:34:06 +02:00
Peter Kanev
de7e787283 always attach console implementation on android 2017-03-20 16:59:27 +02:00
Hristo Deshev
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Hristo Hristov
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
Hristo Deshev
86481cce4a Make typings compatible with @types/node.
Fixes name clashes and uses Node-compatible typings where possible.

Changes:
 - setTimout et al now return NodeJS.Timer instead of number
 - No "console" module anymore. Everyone uses it through global.console
 anyway.
 - We have a typed "global" instance with exposed properties now. Any
 "freeform" accesses must go through a `(<any>global).blah` cast.
 - remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
 as workarounds for the ES6/DOM/Node type clashes.
2017-02-15 13:01:10 +02:00
Panayot Cankov
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
Jason Zhekov
76e6689a42 Register TypeScript helpers at the very start 2016-07-21 12:24:27 +03:00
Jason Zhekov
c2b984664c Export all fetch types to the global object when running in snapshot 2016-06-28 11:43:36 +03:00
Panayot Cankov
165a948150 Image won't require in onMeasure; global loadModule cache 2016-06-21 15:02:15 +03:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00