13 lines
203 B
TypeScript
13 lines
203 B
TypeScript
//// [tests/cases/compiler/importsInAmbientModules2.ts] ////
|
|
|
|
//// [external.d.ts]
|
|
|
|
export default class C {}
|
|
|
|
//// [main.ts]
|
|
|
|
declare module "M" {
|
|
import C from "external"
|
|
}
|
|
|
|
//// [main.js]
|