JS: support additional import statements for Flow

This commit is contained in:
Esben Sparre Andreasen
2019-01-03 15:48:16 +01:00
parent eabc674bb3
commit c6f9a043ca
7 changed files with 457 additions and 104 deletions

View File

@@ -0,0 +1,7 @@
declare module "m1" {
import {
T1,
T2
} from "m2"
}

View File

@@ -1,2 +1,3 @@
import { type, type t1, typeof t2 } from 'm';
import { type t } from 'n';
import type { t } from 'o';

View File

@@ -0,0 +1,11 @@
declare module "m1" {
import type {
T1,
T2
} from "m2"
import typeof {
T3,
T4
} from "m3"
}