Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing or extra word in error message #41603

Open
DanielRosenwasser opened this issue Nov 19, 2020 · 2 comments · May be fixed by #41573
Open

Missing or extra word in error message #41603

DanielRosenwasser opened this issue Nov 19, 2020 · 2 comments · May be fixed by #41573

Comments

@DanielRosenwasser
Copy link
Member

@DanielRosenwasser DanielRosenwasser commented Nov 19, 2020

We have an error message where we're missing the word "flag" or "option".

- This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'.
+ This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' flag is set to 'error'.
@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Nov 19, 2020

Alternatively, this is an excess word, and we could remove the word "the".

- This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'.
+ This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.
@DanielRosenwasser DanielRosenwasser changed the title Missing word in error message Missing or extra word in error message Nov 19, 2020
andrewbranch added a commit to andrewbranch/TypeScript that referenced this issue Nov 20, 2020
@DanielRosenwasser
Copy link
Member Author

@DanielRosenwasser DanielRosenwasser commented Nov 23, 2020

Nice.

image

@DanielRosenwasser DanielRosenwasser added this to the TypeScript 4.2.0 milestone Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.