NativeScript / nativescript-marketplace-demo

NativeScript kitchen sink demo. All of NativeScript’s functionality in one app.
http://www.nativescript.org
Apache License 2.0
325 stars 97 forks source link

fix(ts): cast setTimeout() to avoid TS errors #282

Closed vchimev closed 6 years ago

vchimev commented 6 years ago
ERROR in [at-loader] ./app/examples/conference-agenda/conference-agenda-example.ts:63:5
    TS2322: Type 'Timer' is not assignable to type 'number'.

ERROR in [at-loader] ./app/examples/conference-agenda/conference-agenda-example.ts:71:9
    TS2322: Type 'Timer' is not assignable to type 'number'.

ERROR in [at-loader] ./app/examples/user-profile/user-profile-example.ts:89:5
    TS2322: Type 'Timer' is not assignable to type 'number'.

ERROR in [at-loader] ./app/examples/user-profile/user-profile-example.ts:97:9
    TS2322: Type 'Timer' is not assignable to type 'number'.

Caused by https://github.com/tj/commander.js/pull/646. Related to https://github.com/tj/commander.js/issues/719.