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

reference file with extension .ts or filenames containing uppercase letters does not throw Errors #145

Open
Uzlopak opened this issue Mar 11, 2022 · 0 comments

Comments

@Uzlopak
Copy link

Uzlopak commented Mar 11, 2022

Hi,

we had unfortunately some regressions in mongoose, because I messed up a filename by naming it cursor.ts and not cursor.d.ts. Also there is a bug/feature in typescript that enforces, that filenames of d.ts files should only contain lowercase characters.In both cases tsd does not throw any error.

it would be cool if tsd would recognize this and throw errors.

The bugs we had:
Automattic/mongoose#11469
Automattic/mongoose#11512

Link to the uppercase issue:
microsoft/TypeScript#45096

How I hope we avoid similiar regressions in the future:
Automattic/mongoose#11516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant