We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generated declaration files should at least be compilable with no errors (see issue #2268 for example).
The simplest pragmatic way is to run compiler on a dummy TS file and a corresponding file.d.ts. If it doesn't crash, it's a pass.
The text was updated successfully, but these errors were encountered:
Could call this a suggestion but I think it's just a bug that we're not doing this kind of validation.
Sorry, something went wrong.
We already have a test for typescript.d.ts see https://github.com/Microsoft/TypeScript/blob/master/tests/cases/compiler/APISample_compile.ts
@mihailik feel free to add a test for typescript_internal as well.
PR #2692 removes the _internal files.
No branches or pull requests
Generated declaration files should at least be compilable with no errors (see issue #2268 for example).
The simplest pragmatic way is to run compiler on a dummy TS file and a corresponding file.d.ts. If it doesn't crash, it's a pass.
The text was updated successfully, but these errors were encountered: