Skip to content

Commit 57bc7c8

Browse files
author
HienTM
committed
fix: fix type
1 parent 1b3f49f commit 57bc7c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export interface MicroFrontendProps {
1111
name: string;
1212
path: string;
1313
}
14-
export interface MicroFrontendRouteProps extends OmitFrom<RouteProps, 'path' | 'render'>, OmitFrom<MicroFrontendProps, 'name'> {
14+
export interface MicroFrontendRouteProps extends OmitFrom<RouteProps, 'path' | 'render'>, OmitFrom<MicroFrontendProps, 'history' | 'name'> {
1515
microFrontendName: string;
1616
}

src/types/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ export interface MicroFrontendProps {
1616

1717
export interface MicroFrontendRouteProps
1818
extends OmitFrom<RouteProps, 'path' | 'render'>,
19-
OmitFrom<MicroFrontendProps, 'name'> {
19+
OmitFrom<MicroFrontendProps, 'history' | 'name'> {
2020
microFrontendName: string;
2121
}

0 commit comments

Comments
 (0)