mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
306 B
Plaintext
10 lines
306 B
Plaintext
//// [tests/cases/compiler/functionOnlyHasThrow.ts] ////
|
|
|
|
=== functionOnlyHasThrow.ts ===
|
|
function clone():number {
|
|
>clone : Symbol(clone, Decl(functionOnlyHasThrow.ts, 0, 0))
|
|
|
|
throw new Error("To be implemented");
|
|
>Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
}
|