mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
526 B
Plaintext
12 lines
526 B
Plaintext
//// [tests/cases/conformance/declarationEmit/typePredicates/declarationEmitIdentifierPredicates01.ts] ////
|
|
|
|
=== declarationEmitIdentifierPredicates01.ts ===
|
|
export function f(x: any): x is number {
|
|
>f : Symbol(f, Decl(declarationEmitIdentifierPredicates01.ts, 0, 0))
|
|
>x : Symbol(x, Decl(declarationEmitIdentifierPredicates01.ts, 0, 18))
|
|
>x : Symbol(x, Decl(declarationEmitIdentifierPredicates01.ts, 0, 18))
|
|
|
|
return typeof x === "number";
|
|
>x : Symbol(x, Decl(declarationEmitIdentifierPredicates01.ts, 0, 18))
|
|
}
|