tc39/ecma262#2154
import { "😊" as yay } from "...";
yay();
export { yay as "🦈" };
The above code should be supported.
The minimum viable product should have tests for:
esnext module output
es2015 or similar module output just to get an error
--declaration emit
- Specific declaration emit where the compiler might generate
import() type syntax.
- Quick info, and error message tests where we might generate
import() type syntax
- Completions in
import {} and export {} lists
- Go-to-definition
It is likely that we would never try to emit our own import() type syntax.
tc39/ecma262#2154
The above code should be supported.
The minimum viable product should have tests for:
esnextmodule outputes2015or similar module output just to get an error--declarationemitimport()type syntax.import()type syntaximport {}andexport {}listsIt is likely that we would never try to emit our own
import()type syntax.