Enable noImplicitAny in tsconfig.json
See original GitHub issueThere are many implicit any
types in our codebase, we should give these variables a appropriate type declaration for better TypeScript support.
Ref: https://github.com/ant-design/ant-design/pull/5609#discussion_r109763481
If someone is interested in this issue, just reply this issue which component you are going to handle:
- back-top https://github.com/ant-design/ant-design/pull/6835
- carousel
- dropdown
- input
- message
- progress
- spin
- tag
- tree-select
- badge
- cascader
- form
- input-number
- modal
- radio
- steps
- time-picker
- upload
- affix
- breadcrumb
- checkbox
- grid
- layout
- notification
- rate
- timeline
- version
- alert @bang88 https://github.com/ant-design/ant-design/pull/5836
- anchor
- button
- col
- icon
- locale-provider
- pagination
- row
- switch
- tooltip
- calendar
- collapse
- mention
- popconfirm
- select
- table
- transfer
- auto-complete
- card
- date-picker
- menu
- popover
- slider
- tabs
- tree
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:14 (12 by maintainers)
Top Results From Across the Web
TSConfig Reference - Docs on every TSConfig option
Offers a way to configure the root directory for where declaration files are emitted. example ├── index.ts ├── package.json └── tsconfig.json.
Read more >Explain about noImplicitAny in TypeScript
For using noImplicitAny as a compiler option we need to configure the compilerOptions in tsconfig.json. We need to set noImplicitAny as true ...
Read more >How To Configure tsconfig.json: TypeScript Strict options
TypeScript Strict options in tsconfig.json: Why Should noImplicitAny Be Enabled? By setting the option noImplicitAny to true , TypeScript ...
Read more >Enable "noImplicitAny" in typescript - reactjs
"noImplicitAny": true will only error implicit any . const a:any = 10 won't fail the build because it's explicit, as people have rightfully ......
Read more >Using tsconfig.json
The tsconfig.json file specifies the root files and the compiler options required ... Specify "types": [] to disable automatic inclusion of @types packages....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Will enable this option in antd 3.
I can modify these what I should do?From which branch to start!