Conversation
b9ef70b to
5b65bc4
Compare
lagartoverde
left a comment
There was a problem hiding this comment.
looks good, added some prefixMap conversions you forgot :)
piemonkey
left a comment
There was a problem hiding this comment.
Hmm, given the need to disable TS on so many files to avoid strict mode errors, I think it would make sense for us to try https://github.com/allegro/typescript-strict-plugin , which should allow us to toggle strict mode per file, and so still get limited typechecking in those files.
This indeed sounds like a good idea. I'll check it out and see what impact it has on performance of the language server. There's also a draft PR open to add support for this in typescript: microsoft/TypeScript#49886 |
24bfa5f to
234b951
Compare
4b366f3 to
0f6d1f6
Compare
0f6d1f6 to
7d41932
Compare
|
@piemonkey I added the plugin and was able to replace most |
Overview
This PR improves the jsdoc/type-checking setup of this javascript service.
Specifically it sets up:
tsconfig.jsontypescriptdev-dependency@ts-nocheckin files with missing/incorrect typesHow to test/reproduce
Challenges/uncertainties
I included two logic changes:
prefixMapfrom aMapto areadonly Recordto get better typesChecks PR readiness