15 lines
198 B
TypeScript
15 lines
198 B
TypeScript
declare function foo(): string;
|
|
|
|
foo()(1 as number).toString();
|
|
|
|
foo() (1 as number).toString();
|
|
|
|
foo()
|
|
(1 as number).toString();
|
|
|
|
foo()
|
|
(1 + 2).toString();
|
|
|
|
foo()
|
|
(<number>1).toString();
|