Преглед на файлове

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