8 lines
217 B
Text
8 lines
217 B
Text
=== tests/cases/compiler/functionOnlyHasThrow.ts ===
|
|
function clone():number {
|
|
>clone : () => number
|
|
|
|
throw new Error("To be implemented");
|
|
>new Error("To be implemented") : Error
|
|
>Error : ErrorConstructor
|
|
}
|