Skip to content

Commit

Permalink
fix: make openNewAsset options param optional (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
colomolo committed Apr 13, 2022
1 parent d6e5132 commit bdf3336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/navigator.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface NavigatorAPI {
options?: NavigatorAPIOptions
) => Promise<NavigatorOpenResponse<Entry<Fields>>>
/** Opens a new asset in the current Web App session. */
openNewAsset: (options: NavigatorAPIOptions) => Promise<NavigatorOpenResponse<Asset>>
openNewAsset: (options?: NavigatorAPIOptions) => Promise<NavigatorOpenResponse<Asset>>
/** Navigates to a page extension in the current Web App session. Calling without `options` will navigate to the home route of your page extension. */
openPageExtension: (options?: PageExtensionOptions) => Promise<NavigatorPageResponse>
/** Navigates to the app's page location. */
Expand Down

0 comments on commit bdf3336

Please sign in to comment.