Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use window.timeout to resolve typescript errors #31

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

dasZGFz
Copy link
Collaborator

@dasZGFz dasZGFz commented May 10, 2019

Fixes these errors:

ERROR in xbreader/src/app/components/Reader.ts
./src/app/components/Reader.ts
[tsl] ERROR in xbreader/src/app/components/Reader.ts(117,9)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

ERROR in xbreader/src/app/components/Reader.ts
./src/app/components/Reader.ts
[tsl] ERROR in xbreader/src/app/components/Reader.ts(149,9)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

ERROR in xbreader/src/app/helpers/lazyLoader.ts
./src/app/helpers/lazyLoader.ts
[tsl] ERROR in xbreader/src/app/helpers/lazyLoader.ts(170,13)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

ERROR in xbreader/src/app/helpers/peripherals.ts
./src/app/helpers/peripherals.ts
[tsl] ERROR in xbreader/src/app/helpers/peripherals.ts(463,21)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

ERROR in xbreader/src/app/helpers/peripherals.ts
./src/app/helpers/peripherals.ts
[tsl] ERROR in xbreader/src/app/helpers/peripherals.ts(926,13)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

ERROR in xbreader/src/app/helpers/peripherals.ts
./src/app/helpers/peripherals.ts
[tsl] ERROR in xbreader/src/app/helpers/peripherals.ts(936,9)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

ERROR in xbreader/src/app/helpers/peripherals.ts
./src/app/helpers/peripherals.ts
[tsl] ERROR in xbreader/src/app/helpers/peripherals.ts(948,9)
      TS2322: Type 'Timeout' is not assignable to type 'number'.

@dasZGFz dasZGFz merged commit be70f9f into master Jun 14, 2019
@dasZGFz dasZGFz deleted the fix/typescript-timeout branch June 14, 2019 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant