Skip to content

Commit 8170bf3

Browse files
Fix tests to be non-global.
1 parent 53e76b3 commit 8170bf3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: tests/cases/compiler/circularlySimplifyingConditionalTypesNoCrash.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,6 @@ const myStoreConnect: Connect = function(
4545
mergeProps,
4646
options,
4747
);
48-
};
48+
};
49+
50+
export {};

Diff for: tests/cases/compiler/indexedAccessRetainsIndexSignature.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ type Omit1<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
77
type Omit2<T, K extends keyof T> = {[P in Diff<keyof T, K>]: T[P]};
88

99
type O = Omit<{ a: number, b: string }, 'a'>
10-
const o: O = { b: '' }
10+
export const o: O = { b: '' }

0 commit comments

Comments
 (0)