Files
tsgo/testdata/baselines/reference/compiler/jsDocCodeblockParsing.symbols
2026-05-07 23:21:39 +00:00

29 lines
520 B
Plaintext

//// [tests/cases/compiler/jsDocCodeblockParsing.ts] ////
=== jsDocCodeblockParsing.ts ===
/**
* text
* @example Foo
* ```
* @Embed[asfasdfasf]
* ```
* becomes
* ```html
* <div></div>
* ```
*/
const x = 1;
>x : Symbol(x, Decl(jsDocCodeblockParsing.ts, 11, 5))
/**
* Some text
* ```
* @tag inside code
* ```
* @param y - a number
*/
function foo(y: number) {}
>foo : Symbol(foo, Decl(jsDocCodeblockParsing.ts, 11, 12))
>y : Symbol(y, Decl(jsDocCodeblockParsing.ts, 20, 13))