Fix tests to be non-global.

This commit is contained in:
Daniel Rosenwasser
2019-04-03 14:01:05 -07:00
parent 13d2b8d617
commit 1dae8fcc30
3 changed files with 6 additions and 2 deletions

View File

@@ -45,4 +45,6 @@ const myStoreConnect: Connect = function(
mergeProps,
options,
);
};
};
export {};

View File

@@ -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: '' }

View File

@@ -143,3 +143,5 @@ const Test1 = connect(
null,
mapDispatchToProps
)(TestComponent);
export {};