7 lines
261 B
Text
7 lines
261 B
Text
=== tests/cases/compiler/functionOnlyHasThrow.ts ===
|
|
function clone():number {
|
|
>clone : Symbol(clone, Decl(functionOnlyHasThrow.ts, 0, 0))
|
|
|
|
throw new Error("To be implemented");
|
|
>Error : Symbol(Error, Decl(lib.d.ts, 876, 38), Decl(lib.d.ts, 889, 11))
|
|
}
|