mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-08 17:19:27 +08:00
history/v2 and /v3: Fix export default of object (#19847)
This commit is contained in:
11
types/history/v2/lib/actions.d.ts
vendored
11
types/history/v2/lib/actions.d.ts
vendored
@@ -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;
|
||||
|
||||
9
types/history/v3/lib/actions.d.ts
vendored
9
types/history/v3/lib/actions.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user