improve error message TS2307#27054
Conversation
12bcf13 to
7965631
Compare
|
@DanielRosenwasser please follow up with this one; thanks! |
7965631 to
7bf9417
Compare
|
I rebased with the current master to solve conflicts. Is this change fine for you? Update: Meeh, build is broken. I try to fix it. |
d8edd20 to
fc88b40
Compare
|
Dear future @donaldpipowitch, because you always forget how you fixed something, I'll write it down.
|
|
CI has finished. @RyanCavanaugh or @DanielRosenwasser , it's fixed again 😍 |
d1d3f73 to
9552eec
Compare
|
@RyanCavanaugh or @DanielRosenwasser, I fixed the merge conflicts again. The CI partially errored, but the error message doesn't look to be related to my PR...? It also run without errors on Node 8 and 6. Anything I can do on my side to get this merged? :) |
|
It's just on me; I don't check GitHub notifications as often as I used to but just update the baselines and we can get it in. |
|
No problem, thank you very much. I'll fix this and give you a ping! |
9552eec to
f5e8a18
Compare
|
@DanielRosenwasser , it's green again. Thank you! |
5faec34 to
a933da9
Compare
|
Thank you for the feedback! |
|
Conflicts again 😭 |
a933da9 to
acb7cf9
Compare
|
@DanielRosenwasser or @sheetalkamat : Can we merge this? ❤️ |
|
TS2307 I rember you |
|
Looks like this just needs a merge to be ready to go. @donaldpipowitch I'll get to it in the next few days if you don't first. |
|
@sandersn the unit tests folder has changed so the recent merge is bringing back some of the old files .. |
|
@sheetalkamat how did they change? The one that I was aware of was moving src/compiler/testRunner/... up to src/testRunner/... |
|
ok, I think the 3 files in unittests, plus prettier's user test baseline, are all that were incorrectly re-added. |
Fixes "Improve error message for TS2307".
This pull request has no associated issue. I can't count how often I (or others in our office) misunderstood
TS2307. Today was another day so I finally found the time to make this small PR.TS2307saysCannot find module '{0}'.and I (and others) often try to check if the module exists in the file system or not. If you use TypeScript as part of a complex build setup (e.g. within a webpack config) you often think some file cannot be found. But many times everything works fine and what is really missing is a type declaration for this module.So that is what this PR is about. 🙃
Do I need to touch more files to update the translation or if I need to call a script to generate some files which depend on the message? Thanks!