tsc output format changed?
See original GitHub issueI noticed Typescript errors were no longer being matched correctly. After a bit of research it seems the format has changed? I couldn’t find confirmation, but here’s a comparison:
Before:
src/commandHandler.ts(107,11): error TS2322: Type 'Response<ReposGetCollaboratorPermissionLevelResponse>' is not assignable to type 'Response<CollaboratorPermissionLevel>'.
Now:
src/commandHandler.ts:107:11 - error TS2322: Type 'Response<ReposGetCollaboratorPermissionLevelResponse>' is not assignable to type 'Response<CollaboratorPermissionLevel>'.
It seems a small change to the regex in the tsc.json could be changed to accommodate both patterns.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Documentation - tsc CLI Options - TypeScript
Flag Type Default
‑‑allowJs boolean false
‑‑allowUmdGlobalAccess boolean false
‑‑allowUnreachableCode boolean
Read more >How to colorize the errors in tsc output? - Stack Overflow
Stylize errors and messages using color and context. Alas, it defaults to false so you have to enable it in your .tsconfig :...
Read more >Configuring TypeScript compiler - inDepthDev
By default, TS compiler outputs transpiled files to the same directory where the original TS files is found. However, this can be changed...
Read more >TypeScript configuration - Angular
Typescript must be "transpiled" into JavaScript using the tsc compiler, which requires some configuration. This page covers some aspects of TypeScript ...
Read more >How to Setup a TypeScript project using Rollup.js
tsc , will run the TypeScript compiler through the configurations defined in tsconfig.json file. The output content will be located in the ./out ......
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
I’ll take a look at how you overrode and see if we can improve our matcher.
I was able to override the matcher here and it worked to put annotations on the correct line: https://github.com/Workday/canvas-kit/pull/609/commits/c1e38bea3332dcda0748a27e8dc83450caaf2fc5