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

Failing compilation with 'strictNullChecks' and 'fullTemplateTypeCheck' enabled #120

Open
Enngage opened this issue Jan 17, 2019 · 1 comment

Comments

@Enngage
Copy link

Enngage commented Jan 17, 2019

Hi,

Thanks for the library. We just started using this library in a rather large project, but unfortunately our production builds do not compile if both strictNullChecks (compilerOptions) and fullTemplateTypeCheck (angularCompiler) are enabled. The error is:

ERROR in node_modules\amazing-time-picker\amazing-time-picker.d.ts.ɵa.html(22,17): : Object is possibly 'undefined'.
node_modules\amazing-time-picker\amazing-time-picker.d.ts.ɵa.html(22,17): : Object is possibly 'undefined'.
node_modules\amazing-time-picker\amazing-time-picker.d.ts.ɵa.html(25,53): : Object is possibly 'undefined'.
node_modules\amazing-time-picker\amazing-time-picker.d.ts.ɵa.html(27,23): : Object is possibly 'undefined'.

Any chance you could look into fixing this? Thank you!

@Famin42
Copy link

Famin42 commented Oct 29, 2019

Same issue:

ERROR in node_modules/amazing-time-picker/amazing-time-picker.d.ts.ɵa.html(25,53): : Object is possibly 'undefined'.
node_modules/amazing-time-picker/amazing-time-picker.d.ts.ɵa.html(27,23): : Object is possibly 'undefined'.

This happens when I build angular project with Failing compilation with 'strictNullChecks' and 'fullTemplateTypeCheck' enabled

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

No branches or pull requests

2 participants