mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
491 B
Diff
11 lines
491 B
Diff
--- old.spreadObjectOrFalsy.js
|
|
+++ new.spreadObjectOrFalsy.js
|
|
@@= skipped -91, +91 lines =@@
|
|
|
|
//// [spreadObjectOrFalsy.d.ts]
|
|
declare function f1<T>(a: T & undefined): any;
|
|
-declare function f2<T>(a: T | T & undefined): T | (T & undefined);
|
|
+declare function f2<T>(a: T | (T & undefined)): T | (T & undefined);
|
|
declare function f3<T extends undefined>(a: T): any;
|
|
declare function f4<T extends undefined>(a: object | T): {};
|
|
declare function f5<S, T extends undefined>(a: S | T): S | T;
|