Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/declarationEmitAliasInlineing.js.diff

33 lines
1.2 KiB
Diff

--- old.declarationEmitAliasInlineing.js
+++ new.declarationEmitAliasInlineing.js
@@= skipped -59, +59 lines =@@
type I = {
prop: string;
};
-export declare const fn: (v: O["prop"], p: Omit<O, "prop">, key: keyof O, p2: Omit<O, keyof I>) => void;
+export declare const fn: (v: O['prop'], p: Omit<O, 'prop'>, key: keyof O, p2: Omit<O, keyof I>) => void;
export {};
//// [aExp.d.ts]
export type O = {
@@= skipped -10, +10 lines =@@
export type I = {
prop: string;
};
-export declare const fnExp: (v: O["prop"], p: Omit<O, "prop">, key: keyof O, p2: Omit<O, keyof I>) => void;
+export declare const fnExp: (v: O['prop'], p: Omit<O, 'prop'>, key: keyof O, p2: Omit<O, keyof I>) => void;
//// [b.d.ts]
-export declare const f: (v: string, p: Omit<{
- prop: string;
- prop2: string;
-}, "prop">, key: keyof {
- prop: string;
- prop2: string;
-}, p2: Omit<{
- prop: string;
- prop2: string;
-}, "prop">) => void;
-export declare const fExp: (v: import("./aExp").O["prop"], p: Omit<import("./aExp").O, "prop">, key: keyof import("./aExp").O, p2: Omit<import("./aExp").O, keyof import("./aExp").I>) => void;
+import { fn } from './a';
+import { fnExp } from './aExp';
+export declare const f: typeof fn;
+export declare const fExp: typeof fnExp;