Skip to content

Commit

Permalink
fix(route): params is not undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 8, 2018
1 parent 743277e commit 8b6df5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2602,7 +2602,7 @@ declare global {
namespace JSXElements {
export interface IonRouteAttributes extends HTMLAttributes {
component?: string;
params?: undefined;
params?: {[key: string]: any};
path?: string;
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/route/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import { Component, Prop } from '@stencil/core';
export class Route {
@Prop() path = '';
@Prop() component: string;
@Prop() params: undefined;
@Prop() params: {[key: string]: any};
}

0 comments on commit 8b6df5a

Please sign in to comment.