瀏覽代碼

Mark params parameter as optional in Navigation.pop

Guy Carmeli 7 年之前
父節點
當前提交
1796e14ddf
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      lib/src/Navigation.ts

+ 1
- 1
lib/src/Navigation.ts 查看文件

105
   /**
105
   /**
106
    * Pop a component from the stack, regardless of it's position.
106
    * Pop a component from the stack, regardless of it's position.
107
    */
107
    */
108
-  public pop(componentId: string, params): Promise<any> {
108
+  public pop(componentId: string, params?): Promise<any> {
109
     return this.commands.pop(componentId, params);
109
     return this.commands.pop(componentId, params);
110
   }
110
   }
111
 
111