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

proposal-typescript: change algo how .js .d.ts gets handled in the ide #11

Open
frank-dspeed opened this issue May 23, 2022 · 0 comments

Comments

@frank-dspeed
Copy link
Owner

At present in case of .js as authoring format the .js is authoritativ while using allowJs checkJs
when not the d.ts gets used

i propose a mixed mode where allowJs checkJs + d.ts gets used when editing the .js file and also error on divergence inside .js and .d.ts the d.ts is authoritativ for none existing values in the js while the js is autoritativ for the case when it not exists in .d.ts

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