toosoon-utils 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -221,7 +221,7 @@ Find the closest parent that matches a selector.
|
|
|
221
221
|
- `selector`: Selector or parent to match.
|
|
222
222
|
|
|
223
223
|
```ts
|
|
224
|
-
closest(element: Element, selector: Element | string): Element | null;
|
|
224
|
+
closest(element: Element | null, selector: Element | string): Element | null;
|
|
225
225
|
```
|
|
226
226
|
|
|
227
227
|
##### createCanvas(width, height)
|