TS build fails after upgrade to 7.3.0 with noImplicitAny flag.
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior
TS fails building release/components/row-detail/row-detail.directive.d.ts
with --noImplicitAny
flag with (10, 34) Parameter 'index' implicitly has an 'any' type.
error.
Expected behavior
Build runs without errors.
Reproduction of the problem
- update to
@swimlane/ngx-datatable@7.3.0
in any project using ngx-datatable - build the project
What is the motivation / use case for changing the behavior?
Fix the bug
Please tell us about your environment:
Win10, Node 7.7.3, Npm 4.1.2
- Table version: 0.7.x
0.7.3
- Angular version: 2.0.x
4.0.1
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Not related to browsers
- Language: [all | TypeScript X.X | ES6/7 | ES5] TS 2.2.2
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Angular build ignore typescript error using noImplicitAny is not ...
It seems to me the errors you are getting are caught on properties of objects that have an explicit type defined, instead of...
Read more >TSConfig Reference - Docs on every TSConfig option
Turning on noImplicitAny however TypeScript will issue an error whenever it ... this flag, so upgrades of TypeScript might result in new type...
Read more >How to use TypeScript & ES6 in your Magento module using ...
ts :errors displays any TypeScript errors from the TSC compiler, as we're using Babel to compile our TypeScript we do not receive errors...
Read more >TypeScript configuration - Angular
When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also...
Read more >Authentication | Ts.ED - A Node.js and TypeScript Framework ...
js to protect your API. Ts.ED provide a @tsed/passport plugin in order to facilitate the use of this library within the framework. The...
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 FreeTop 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
Top GitHub Comments
How is it related to
node_modules
? It’s an expected behavior for TS to build generated.d.ts
schemes fromngx-datatable
because ofimport { NgxDatatableModule } from '@swimlane/ngx-datatable';
in consuming project.Default ng2 app configuration does not require excluding
node_modules
because app is built withsrc/tsconfig.app.json
insidesrc
, that’s whynode_modules
are not included anyway.The bug is a regression after this change
This should be fixed in latest