2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/functionOnlyHasThrow.ts ===
|
|
|
|
function clone():number {
|
2015-04-13 23:01:57 +02:00
|
|
|
>clone : () => number, Symbol(clone, Decl(functionOnlyHasThrow.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
throw new Error("To be implemented");
|
|
|
|
>new Error("To be implemented") : Error
|
2015-04-13 23:01:57 +02:00
|
|
|
>Error : ErrorConstructor, Symbol(Error, Decl(lib.d.ts, 876, 38), Decl(lib.d.ts, 889, 11))
|
2015-04-13 21:36:11 +02:00
|
|
|
>"To be implemented" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|