mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
308 B
Diff
9 lines
308 B
Diff
--- old.noInferRedeclaration.js
|
|
+++ new.noInferRedeclaration.js
|
|
@@= skipped -20, +20 lines =@@
|
|
//// [a.d.ts]
|
|
export declare const f: <T>(x: T, y: NoInfer<T>) => T;
|
|
//// [b.d.ts]
|
|
-export declare const g: <T>(x: T, y: globalThis.NoInfer<T>) => T;
|
|
+import { f } from "./a";
|
|
+export declare const g: typeof f;
|