21 lines
368 B
Text
21 lines
368 B
Text
=== tests/cases/compiler/a.ts ===
|
|
|
|
var undefined;
|
|
>undefined : any
|
|
|
|
export { undefined };
|
|
>undefined : any
|
|
|
|
=== tests/cases/compiler/b.ts ===
|
|
import { undefined } from "./a";
|
|
>undefined : any
|
|
|
|
declare function use(a: number);
|
|
>use : (a: number) => any
|
|
>a : number
|
|
|
|
use(undefined);
|
|
>use(undefined) : any
|
|
>use : (a: number) => any
|
|
>undefined : any
|
|
|