Skip to content

Commit

Permalink
fix: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
HienTM committed May 5, 2020
1 parent 1b3f49f commit 57bc7c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export interface MicroFrontendProps {
name: string;
path: string;
}
export interface MicroFrontendRouteProps extends OmitFrom<RouteProps, 'path' | 'render'>, OmitFrom<MicroFrontendProps, 'name'> {
export interface MicroFrontendRouteProps extends OmitFrom<RouteProps, 'path' | 'render'>, OmitFrom<MicroFrontendProps, 'history' | 'name'> {
microFrontendName: string;
}
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ export interface MicroFrontendProps {

export interface MicroFrontendRouteProps
extends OmitFrom<RouteProps, 'path' | 'render'>,
OmitFrom<MicroFrontendProps, 'name'> {
OmitFrom<MicroFrontendProps, 'history' | 'name'> {
microFrontendName: string;
}

0 comments on commit 57bc7c8

Please sign in to comment.