diff --git a/index.d.ts b/index.d.ts index 14fc8bc37..cf64ecfc4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5445,7 +5445,7 @@ declare namespace grapesjs { * const somePage = pageManager.get('page-id'); * pageManager.remove(somePage); */ - remove(): any; + remove(page: string | Page): any; /** * Get page by id * @example @@ -5481,7 +5481,7 @@ declare namespace grapesjs { * const somePage = pageManager.get('page-id'); * pageManager.select(somePage); */ - select(): this; + select(page: string | Page): this; /** * Get the selected page * @example