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]>
35 lines
522 B
TypeScript
35 lines
522 B
TypeScript
//// [tests/cases/compiler/declarationEmitClassAccessorsJs1.ts] ////
|
|
|
|
//// [index.js]
|
|
// https://github.com/microsoft/TypeScript/issues/58167
|
|
|
|
export class VFile {
|
|
/**
|
|
* @returns {string}
|
|
*/
|
|
get path() {
|
|
return ''
|
|
}
|
|
|
|
/**
|
|
* @param {URL | string} path
|
|
*/
|
|
set path(path) {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
//// [index.d.ts]
|
|
export declare class VFile {
|
|
/**
|
|
* @returns {string}
|
|
*/
|
|
get path(): string;
|
|
/**
|
|
* @param {URL | string} path
|
|
*/
|
|
set path(path: URL | string);
|
|
}
|