Skip to content

Commit

Permalink
fix: Bridge had define Props Info for an app info, but it will be mea…
Browse files Browse the repository at this point in the history
…ningful which renamed be AppInfo than it, so I did to redefine to AppInfo (#531)
  • Loading branch information
Rain120 committed Jul 27, 2022
1 parent c9f2b92 commit beb4fb2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bridge-react-v18/src/types.d.ts
Expand Up @@ -6,6 +6,8 @@ export type PropsInfo = {
props: Record<string, any>;
};

export type AppInfo = PropsInfo;

export type LoadRootComponent<T> = (opts: PropsInfo) => Promise<T>;

export type TypeComponent<T> =
Expand Down
2 changes: 2 additions & 0 deletions packages/bridge-react/src/types.d.ts
Expand Up @@ -6,6 +6,8 @@ export type PropsInfo = {
props: Record<string, any>;
};

export type AppInfo = PropsInfo;

export type LoadRootComponent<T> = (opts: PropsInfo) => Promise<T>;
export type TypeComponent<T> =
| {
Expand Down
2 changes: 2 additions & 0 deletions packages/bridge-vue-v2/src/types.d.ts
Expand Up @@ -6,6 +6,8 @@ export type PropsInfo = {
props: Record<string, any>;
};

export type AppInfo = PropsInfo;

export type LoadRootComponent<T> = (opts: PropsInfo) => Promise<T>;

export type TypeComponent<T> =
Expand Down
2 changes: 2 additions & 0 deletions packages/bridge-vue-v3/src/types.d.ts
Expand Up @@ -6,6 +6,8 @@ export type PropsInfo = {
props: Record<string, any>;
};

export type AppInfo = PropsInfo;

export type LoadRootComponent<T> = (opts: PropsInfo) => Promise<T>;

export type TypeComponent<T> =
Expand Down

1 comment on commit beb4fb2

@vercel
Copy link

@vercel vercel bot commented on beb4fb2 Jul 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.