20 lines
243 B
TypeScript
20 lines
243 B
TypeScript
//// [tests/cases/compiler/typeReferenceDirectives2.ts] ////
|
|
|
|
//// [index.d.ts]
|
|
|
|
interface $ { x }
|
|
|
|
//// [app.ts]
|
|
interface A {
|
|
x: $
|
|
}
|
|
|
|
//// [app.js]
|
|
|
|
|
|
//// [app.d.ts]
|
|
/// <reference types="lib" />
|
|
interface A {
|
|
x: $;
|
|
}
|