Skip to content

Remove fully generic type definition#48

Open
vmwxiong wants to merge 1 commit intofritzy:masterfrom
vmwxiong:patch-11
Open

Remove fully generic type definition#48
vmwxiong wants to merge 1 commit intofritzy:masterfrom
vmwxiong:patch-11

Conversation

@vmwxiong
Copy link
Copy Markdown
Contributor

Setting [name: string]: any; effectively makes type checking pointless, since it causes the compiler to recognize any property used in any way to be considered valid. Switching this off will properly show type errors when attempting to access properties that have not been defined on a component.

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