Pārlūkot izejas kodu

Mark params parameter as optional in Navigation.pop

Guy Carmeli 6 gadus atpakaļ
vecāks
revīzija
1796e14ddf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      lib/src/Navigation.ts

+ 1
- 1
lib/src/Navigation.ts Parādīt failu

@@ -105,7 +105,7 @@ export class Navigation {
105 105
   /**
106 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 109
     return this.commands.pop(componentId, params);
110 110
   }
111 111