mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
384 B
Plaintext
17 lines
384 B
Plaintext
//// [tests/cases/compiler/declarationEmitClassSetAccessorParamNameInJs3.ts] ////
|
|
|
|
=== foo.js ===
|
|
export class Foo {
|
|
>Foo : Symbol(Foo, Decl(foo.js, 0, 0))
|
|
|
|
/**
|
|
* Bar.
|
|
*
|
|
* @param {{ prop: string | undefined }} baz Baz.
|
|
*/
|
|
set bar({ prop = 'foo' }) {}
|
|
>bar : Symbol(Foo.bar, Decl(foo.js, 0, 18))
|
|
>prop : Symbol(prop, Decl(foo.js, 6, 13))
|
|
}
|
|
|