Skip to content

Commit

Permalink
getCollectionElements: Fixed page param not being optional in the ove…
Browse files Browse the repository at this point in the history
…rload
  • Loading branch information
alexiglesias93 committed Sep 26, 2021
1 parent 2199bcb commit b1f65e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@finsweet/ts-utils",
"version": "0.13.2",
"version": "0.13.3",
"description": "Typescript utils for custom Webflow projects.",
"main": "index.ts",
"module": "index.ts",
Expand Down
4 changes: 2 additions & 2 deletions webflow/getCollectionElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
export function getCollectionElements(
reference: string | Element,
target: 'items',
page: Document
page?: Document
): NodeListOf<HTMLDivElement>;
export function getCollectionElements(
reference: string | Element,
target: 'wrapper' | 'list',
page: Document
page?: Document
): HTMLDivElement | null | undefined;
export function getCollectionElements(
reference: string | Element,
Expand Down

0 comments on commit b1f65e9

Please sign in to comment.