Files
tsgo/testdata/baselines/reference/submodule/transpile/declarationSelfReferentialConstraint.d.ts
2026-08-11 02:04:48 +00:00

9 lines
263 B
TypeScript

//// [declarationSelfReferentialConstraint.ts] ////
export const object = {
foo: <T extends Set<T> | []>(): void => { },
};
//// [declarationSelfReferentialConstraint.d.ts] ////
export declare const object: {
foo: <T extends Set<T> | []>() => void;
};