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

[suggest]Is there any plan to drop import extension? #13417

Closed
skimhugo opened this issue Jan 19, 2022 · 1 comment
Closed

[suggest]Is there any plan to drop import extension? #13417

skimhugo opened this issue Jan 19, 2022 · 1 comment
Labels
duplicate a duplicate of another issue

Comments

@skimhugo
Copy link

I use deno in a Monorepo project witch nodejs and browser code.

And for now,webstorm only support one typescript language server. Actually, I did some work in babel,and now I can deliver code between node、deno and brower.

And I use vscode for deno,webstorm for node and brower.

What annoying me is, if I careless touch a deno file in webstrom,it alart me '.ts' error as you know.

Use deno and node in mix mode is the reality.

Actually,the reason I use deno is because,it is good to write TypeScript script. And I can obtain that ability via esbuild.

I think the incompatible in typescript import syntax,is a big mistake you should change.

deno is good,because if we make a huge program,we can use deno to isolate something.In that scope,what is important is we can tansfer any code from deno to node,and any code from node to deno.

In order to achieve this goal, my design(and I think is the common one) is use node develop code.and generate deno code.(because if a problem can solve in deno,it certainly can be solved in node,but not the other way around).

And I think it's good for deno to generate language syntax compatible design.

Meanwhile,I think npm discompatible is receivable,because this is higher than lanuage syntax,And we can do a lot to compat that layer.

@skimhugo skimhugo changed the title Is there any plan to drop import extension? [suggest]Is there any plan to drop import extension? Jan 19, 2022
@kitsonk kitsonk added the duplicate a duplicate of another issue label Jan 19, 2022
@kitsonk
Copy link
Contributor

kitsonk commented Jan 19, 2022

Duplicate of #2506

@kitsonk kitsonk marked this as a duplicate of #2506 Jan 19, 2022
@kitsonk kitsonk closed this as completed Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants