mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Fix tests to be non-global.
This commit is contained in:
@@ -45,4 +45,6 @@ const myStoreConnect: Connect = function(
|
||||
mergeProps,
|
||||
options,
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
export {};
|
||||
|
||||
@@ -7,4 +7,4 @@ type Omit1<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
|
||||
type Omit2<T, K extends keyof T> = {[P in Diff<keyof T, K>]: T[P]};
|
||||
|
||||
type O = Omit<{ a: number, b: string }, 'a'>
|
||||
const o: O = { b: '' }
|
||||
export const o: O = { b: '' }
|
||||
|
||||
@@ -143,3 +143,5 @@ const Test1 = connect(
|
||||
null,
|
||||
mapDispatchToProps
|
||||
)(TestComponent);
|
||||
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user