mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
263 B
TypeScript
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;
|
|
};
|