Skip to content

Commit

Permalink
docs: fix type of props option in RouteConfig api
Browse files Browse the repository at this point in the history
Closes #2453
  • Loading branch information
posva committed Oct 27, 2018
1 parent 10e3f33 commit c7050bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api/README.md
Expand Up @@ -173,7 +173,7 @@ Since it's just a component, it works with `<transition>` and `<keep-alive>`. Wh
name?: string; // for named routes
components?: { [name: string]: Component }; // for named views
redirect?: string | Location | Function;
props?: boolean | string | Function;
props?: boolean | Object | Function;
alias?: string | Array<string>;
children?: Array<RouteConfig>; // for nested routes
beforeEnter?: (to: Route, from: Route, next: Function) => void;
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/api/README.md
Expand Up @@ -171,7 +171,7 @@ name ではないプロパティも描画されるコンポーネントに渡さ
name?: string; // 名前付きルート用
components?: { [name: string]: Component }; // 名前付き view 用
redirect?: string | Location | Function;
props?: boolean | string | Function;
props?: boolean | Object | Function;
alias?: string | Array<string>;
children?: Array<RouteConfig>; // ネストされたルート用
beforeEnter?: (to: Route, from: Route, next: Function) => void;
Expand Down
2 changes: 1 addition & 1 deletion docs/ru/api/README.md
Expand Up @@ -173,7 +173,7 @@ sidebar: auto
name?: string; // для именованных маршрутов
components?: { [name: string]: Component }; // для именованных представлений
redirect?: string | Location | Function;
props?: boolean | string | Function;
props?: boolean | Object | Function;
alias?: string | Array<string>;
children?: Array<RouteConfig>; // для вложенных маршрутов
beforeEnter?: (to: Route, from: Route, next: Function) => void;
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/api/README.md
Expand Up @@ -177,7 +177,7 @@ sidebar: auto
name?: string; // 命名路由
components?: { [name: string]: Component }; // 命名视图组件
redirect?: string | Location | Function;
props?: boolean | string | Function;
props?: boolean | Object | Function;
alias?: string | Array<string>;
children?: Array<RouteConfig>; // 嵌套路由
beforeEnter?: (to: Route, from: Route, next: Function) => void;
Expand Down

0 comments on commit c7050bc

Please sign in to comment.