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

Problem with enabled "strictNullChecks" in an application #1588

Closed
dmytroyarmak opened this issue Jun 3, 2018 · 1 comment
Closed

Problem with enabled "strictNullChecks" in an application #1588

dmytroyarmak opened this issue Jun 3, 2018 · 1 comment

Comments

@dmytroyarmak
Copy link
Contributor

Version

0.7.1

Environment

typescript v2.7.2

Reproduction link

https://github.com/dmytroyarmak/antd-demo-app/blob/master/tsconfig.json#L19

Steps to reproduce

start app:
ng build

What is expected?

app to successfully compile

What is actually happening?

error during TypeScript compilation:

ERROR in node_modules/ng-zorro-antd/src/transfer/interface.d.ts(3,5): error TS2411: Property 'direction' of type '"left" | "right" | undefined' is not assignable to string index type '{}'.
node_modules/ng-zorro-antd/src/transfer/interface.d.ts(4,5): error TS2411: Property 'disabled' of type 'boolean | undefined' is not assignable to string index type '{}'.
node_modules/ng-zorro-antd/src/transfer/interface.d.ts(5,5): error TS2411: Property 'checked' of type 'boolean | undefined' is not assignable to string index type '{}'.
node_modules/ng-zorro-antd/src/transfer/interface.d.ts(6,5): error TS2411: Property '_hiden' of type 'boolean | undefined' is notassignable to string index type '{}'.

Other?

@lock
Copy link

lock bot commented Jun 4, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant