glutinum-org / cli

Home Page:https://glutinum.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle `ImportDeclaration` correctly

MangelMaxime opened this issue · comments

TypeScript documentation:

import * as foo from "my-lib";
import { fieldA } from "my-lib";
import { fieldA, fieldB } from "my-lib";
import myLib from "my-lib";
import { foo as bar } from 'my-lib';
import myLib from "nested/path/my-lib";

translates into

Example of npm package using this features: