From d6712dabf1eae9b28f675654bada7252e97b0ae9 Mon Sep 17 00:00:00 2001 From: perry Date: Mon, 23 Nov 2015 09:56:59 -0600 Subject: [PATCH] docs(modal): TS params need a type --- ionic/components/modal/modal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ionic/components/modal/modal.ts b/ionic/components/modal/modal.ts index 4da81de5d8..8baae9ab48 100644 --- a/ionic/components/modal/modal.ts +++ b/ionic/components/modal/modal.ts @@ -49,9 +49,9 @@ export class Modal { * for the modal to work correctly. (This is something that will * be hopefully be removed in the near future.) * @param pageComponent The Page component to load in the modal. - * @param [params={}] Optional data which can be passed to the page + * @param {Object} [params={}] Optional data which can be passed to the page * component, which can be read from the constructor's `NavParams`. - * @param [opts={}] Additional options for this one modal instance of. + * @param {Object} [opts={}] Additional options for this one modal instance of. * Options include `enterAnimation` and `leaveAnimation`, which * allows customization of which animation to use. * @returns {Promise} Returns a promise which resolves when the modal has