history/v2 and /v3: Fix export default of object (#19847)

This commit is contained in:
Andy
2017-09-18 11:08:51 -07:00
committed by GitHub
parent 5027017378
commit 22721ffe2e
2 changed files with 11 additions and 9 deletions

View File

@@ -2,8 +2,9 @@ export const PUSH: string;
export const REPLACE: string;
export const POP: string;
export default {
PUSH,
REPLACE,
POP
}
declare const defaultExport: {
PUSH: string,
REPLACE: string,
POP: string,
};
export default defaultExport;

View File

@@ -2,8 +2,9 @@ export const PUSH: string;
export const REPLACE: string;
export const POP: string;
export default {
PUSH,
REPLACE,
POP
declare const defaultExport: {
PUSH: string,
REPLACE: string,
POP: string,
};
export default defaultExport;