diff --git a/test-workspace/tsc/passedFixtures/shared.d.ts b/test-workspace/tsc/passedFixtures/shared.d.ts index 26abe5a11b..e9865589bf 100644 --- a/test-workspace/tsc/passedFixtures/shared.d.ts +++ b/test-workspace/tsc/passedFixtures/shared.d.ts @@ -3,8 +3,3 @@ type IfEquals = (() => G extends T ? 1 : 2) extends (() => G extends U ? 1 : 2) ? Y : N; export declare function exactType(draft: T & IfEquals, expected: U & IfEquals): IfEquals; - -// https://stackoverflow.com/a/49928360 -type IfNotAny = 0 extends 1 & T ? never : T; -type IfNotUndefined = Exclude extends never ? never : T; -export declare function isNotAnyOrUndefined(value: IfNotAny>): void;