21 lines
412 B
Plaintext
21 lines
412 B
Plaintext
exports[`test type.js 1`] = `
|
|
"declare var a: number;
|
|
var b: typeof a = \"...\";
|
|
var c: typeof a = \"...\";
|
|
|
|
type T = number;
|
|
var x:T = \"...\";
|
|
|
|
// what about recursive unions?
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare var a: number;
|
|
var b: typeof a = \"...\";
|
|
var c: typeof a = \"...\";
|
|
|
|
type T = number;
|
|
var x: T = \"...\";
|
|
|
|
// what about recursive unions?
|
|
"
|
|
`;
|