a569bb2931
fix(timer): setTimeout/setInterval support for boolean period ( #7569 )
...
* Fix setTimeout/setInterval can't be called with boolean period
* Add typings and a test
* Revert typings
* Ignore the wrong type
2019-08-02 16:06:03 +03:00
4f39fb728b
chore: update tslint rules ( #7391 )
2019-06-26 15:13:48 +03:00
b20e771552
chore: remove deprecated apis for ns 6.0 ( #7382 )
2019-06-25 16:52:01 +03:00
b436ecde36
refactor: replace var usage with let/const ( #7064 )
2019-03-25 18:09:14 +02:00
34fe24732d
chore: deprecate utils.ios.getter ( #7054 )
2019-03-22 17:33:21 +02:00
7e39bfb9d4
Standard timers - fix for #4384 ( #4389 )
...
Specifications define timers capable of accepting optional parameters.
https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers
This PR goal is to standardize such behavior in NativeScript too.
2017-06-15 23:19:49 +03:00
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
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
9d2a98f558
Fix: setInterval callback is not fired while touch events are being processed
...
Resolves #2116
2017-01-03 10:49:04 +02:00
05cd636fc8
npm scripts for typechecking public .d.ts-es and running tslint ( #2934 )
...
* npm scripts for typechecking public .d.ts-es and running tslint
* Update test.ts
2016-10-27 15:18:54 +03:00
e135c20b14
Rename the files
2016-05-26 14:30:25 +03:00