question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

validation-result.d.ts:13:64 - error TS1005: ',' expected. error

See original GitHub issue

i use express with typescript, got error during compilation

node_modules/express-validator/src/validation-result.d.ts:13:64 - error TS1005: ',' expected.

13     constructor(formatter: ErrorFormatter<T>, errors: readonly ValidationError[]);
                                                                  ~~~~~~~~~~~~~~~

node_modules/express-validator/src/validation-result.d.ts:13:79 - error TS1005: ',' expected.

13     constructor(formatter: ErrorFormatter<T>, errors: readonly ValidationError[]);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AsachAtikincommented, Oct 27, 2020

Try to update typescript to 4 version

"devDependencies": {,
  "typescript": "4.0.5"
},
0reactions
gustavohenkecommented, Sep 25, 2022

Closing, but please open a new issue with a reproducible repo if possible. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript error TS1005: ';' expected (II) - Stack Overflow
Your installation is wrong ; you are using a very old compiler version (1.0.3.0). tsc --version should return a version of 2.5.2.
Read more >
node modules rxjs internal types d ts 81 44 error TS1005 ...
I got an error of:- node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';'. Which I had expected after the installation of Angular ...
Read more >
import gives ts1005... lots of them - Microsoft Community Hub
I have a problem that should be easy enough to pinpoint, ... /@uifabric/merge-styles/lib/DeepPartial.d.ts(4,26): error TS1005: ';' expected.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found