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

Fix of using implicit type any #12

Merged
merged 1 commit into from
Sep 15, 2022
Merged

Fix of using implicit type any #12

merged 1 commit into from
Sep 15, 2022

Conversation

zipper
Copy link

@zipper zipper commented Sep 14, 2022

When using this plugin with strict mode, there is an error using implicit type any:

ERROR in [at-loader] ./node_modules/@orchidjs/sifter/lib/sifter.ts:26:9
    TS7008: Member 'items' implicitly has an 'any' type.

This commit fixes the problem. Constructor uses type any for items, so this just defines it on property as well.

When using this plugin with strict mode, there is an error using implicit type any:
```
ERROR in [at-loader] ./node_modules/@orchidjs/sifter/lib/sifter.ts:26:9
    TS7008: Member 'items' implicitly has an 'any' type.
```
This commit fixes the problem. Constructor uses type any for items, so this just defines it on property as well.
@oyejorge
Copy link
Member

Thanks!

@oyejorge oyejorge merged commit 23cb079 into orchidjs:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants