You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strict null checking was added by microsoft/TypeScript#7140. This allows developers to make their code more type-safe by explicitly defining null or undefined as a type option.
This library gives me an compile error if strict null checking is enabled:
node_modules/await-semaphore/index.ts(12,13): error TS2532: Object is possibly 'undefined'.
Steps to reproduce
Create a typescript 2.0 project with strict null checking enabled
Add await-semaphore as a dependency
Run tsc.
The text was updated successfully, but these errors were encountered:
Strict null checking was added by microsoft/TypeScript#7140. This allows developers to make their code more type-safe by explicitly defining null or undefined as a type option.
This library gives me an compile error if strict null checking is enabled:
Steps to reproduce
The text was updated successfully, but these errors were encountered: