fix(route): params is not undefined

This commit is contained in:
Manu Mtz.-Almeida
2018-03-08 19:24:13 +01:00
parent 743277eb6e
commit 8b6df5abbd
2 changed files with 2 additions and 2 deletions

View File

@ -2602,7 +2602,7 @@ declare global {
namespace JSXElements {
export interface IonRouteAttributes extends HTMLAttributes {
component?: string;
params?: undefined;
params?: {[key: string]: any};
path?: string;
}
}

View File

@ -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};
}