Typo in emitDeclarationError for declarations #22425
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Fixed
A PR has been merged for this issue
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
TypeScript Version: 2.7.2
Search Terms: emitDeclarationOnly
Code
https://github.com/Microsoft/TypeScript/blob/fa4619c5c17a6a592245069f416b91e2ea40c36d/src/compiler/program.ts#L2202-L2205
Expected behavior:
Should say
error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration'.
Actual behavior:
Says 'declarations'
The text was updated successfully, but these errors were encountered: