mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
history/v2 and /v3: Fix export default of object (#19847)
This commit is contained in:
Vendored
+6
-5
@@ -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;
|
||||
|
||||
Vendored
+5
-4
@@ -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