Files
tsgo/testdata/baselines/reference/submodule/compiler/arrowFunctionJSDocAnnotation.symbols
2025-02-26 14:53:49 -08:00

29 lines
601 B
Plaintext

//// [tests/cases/compiler/arrowFunctionJSDocAnnotation.ts] ////
=== index.js ===
/**
* @param {any} v
*/
function identity(v) {
>identity : Symbol(identity, Decl(index.js, 0, 0))
>v : Symbol(v, Decl(index.js, 3, 18))
return v;
>v : Symbol(v, Decl(index.js, 3, 18))
}
const x = identity(
>x : Symbol(x, Decl(index.js, 7, 5))
>identity : Symbol(identity, Decl(index.js, 0, 0))
/**
* @param {number} param
* @returns {number=}
*/
param => param
>param : Symbol(param, Decl(index.js, 7, 19))
>param : Symbol(param, Decl(index.js, 7, 19))
);