mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
be5de2a808
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
27 lines
419 B
TypeScript
27 lines
419 B
TypeScript
//// [tests/cases/compiler/declarationEmitClassSetAccessorParamNameInJs.ts] ////
|
|
|
|
//// [foo.js]
|
|
// https://github.com/microsoft/TypeScript/issues/55391
|
|
|
|
export class Foo {
|
|
/**
|
|
* Bar.
|
|
*
|
|
* @param {string} baz Baz.
|
|
*/
|
|
set bar(baz) {}
|
|
}
|
|
|
|
|
|
|
|
|
|
//// [foo.d.ts]
|
|
export declare class Foo {
|
|
/**
|
|
* Bar.
|
|
*
|
|
* @param {string} baz Baz.
|
|
*/
|
|
set bar(baz: string);
|
|
}
|