Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Version 2.4.7

Choose a tag to compare

@rbiggs rbiggs released this 16 Jun 16:37
· 33 commits to master since this release
Updated JSDoc types.

1. Changed HTMLElement types to Node. This required treating HTMLElement methods, such as “setAttribute” as expando properties escaped with [“”], because they do not exist on type Node. Browsers will automatically coerce a Node to an HTMLElement type to allow using its methods. Static type checkers can’t, sigh.
2. Switch from using generic Object type to Object.<string, any> to designate generic object literal type.