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
  • Loading branch information
Rain120 committed Jul 25, 2022
1 parent c9f2b92 commit 75fa6ee
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 75fa6ee

Please sign in to comment.