Ninja-Squad/ngx-valdemort

AoT build failed with Angular 6

qdelettre opened this issue · 4 comments

Hi,

I'm using angular 6 with
"ngx-valdemort": "^0.1.0",

When building aot :
ERROR in node_modules/ngx-valdemort/ngx-valdemort.d.ts.ɵa.html(3,19): : Object is possibly 'null'.

👋 Thank you for taking the time to open an issue.

I guess you are using strictNullChecks in your TypeScript configuration?

Update: I can indeed reproduce the issue. I submitted a PR with a fix.

@cexbrayat I confirm. skipLibCheck is true in my tsconfig, so i guess i'm using stricNullChecks.

@qdelettre I just released version 0.1.1. Please tell us if everything works fine with this release.

@jnizet Aot build is fine 👍
Thank you.