8 lines
No EOL
143 B
TypeScript
8 lines
No EOL
143 B
TypeScript
// @declaration: true
|
|
|
|
type Foo<T> = T | { x: Foo<T> };
|
|
var x: Foo<number[]>;
|
|
|
|
export function returnSomeGlobalValue() {
|
|
return x;
|
|
} |