TypeScript/tests/baselines/reference/umd9.types
2019-04-08 09:46:47 -07:00

19 lines
438 B
Text

=== tests/cases/conformance/externalModules/a.ts ===
/// <reference path="foo.d.ts" />
export const x = Foo; // OK in value position because allowUmdGlobalAccess: true
>x : typeof Thing
>Foo : typeof Thing
=== tests/cases/conformance/externalModules/foo.d.ts ===
declare class Thing {
>Thing : Thing
foo(): number;
>foo : () => number
}
export = Thing;
>Thing : Thing
export as namespace Foo;
>Foo : typeof Thing