Build errors with TypeScript since 7.3.1
See original GitHub issueWith 7.3.1, I get these build errors in my project:
node_modules/monk/index.d.ts(45,22): error TS2314: Generic type 'FindOneOptions<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(203,16): error TS2314: Generic type 'FindOneOptions<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(210,16): error TS2314: Generic type 'FindOneOptions<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(216,17): error TS2314: Generic type 'FindOneOptions<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(220,16): error TS2314: Generic type 'FindOneOptions<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(226,17): error TS2314: Generic type 'FindOneAndDeleteOption<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(230,16): error TS2314: Generic type 'FindOneAndDeleteOption<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(238,17): error TS2314: Generic type 'FindOneAndUpdateOption<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(243,17): error TS2314: Generic type 'FindOneAndUpdateOption<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(250,17): error TS2314: Generic type 'FindOneAndReplaceOption<T>' requires 1 type argument(s).
node_modules/monk/index.d.ts(255,16): error TS2314: Generic type 'FindOneAndReplaceOption<T>' requires 1 type argument(s).
With 7.3.0 I don’t get these. Not sure what other details you need to reproduce? Just let me know.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to resolve compile errors during upgrade of Angular ...
So I tried upgrading Typescript to 3.2 and then running “ng serve”, but it gives me this error: ERROR in The Angular Compiler...
Read more >ng build --prod error · Issue #573 · KillerCodeMonkey/ngx-quill
Happens during an ng build --prod . ERROR in ./node_modules/ngx-quill/fesm5/ngx-quill.js Module build failed (from .
Read more >TypeScript's @ts-expect-error: The best way to ignore errors
One of the sneakier new awesome features of the recently released TypeScript 3.9 was the new comment `// @ts-expect- error `.
Read more >TypeScript Errors shown for latest version when project ...
Open the project, build and the build will be successful but after a while the error list will fill up with TypeScript 2.5...
Read more >TypeScript errors and how to fix them
Common Errors. Below you find a list of common TypeScript errors along with the buggy code and its fixed version. If you're interested...
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
@mathieudutour PR is out 😃
Awesome, you are right. I would guess the native mongo types have changed. I’ll do a PR