this type in define helper is too strict #6
Labels
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rusticarcade/palette#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Inherited HTMLElement properties are not showing as valid via TypeScript evaluation when defining functions using the
define()helper. As such, you cannot usethis.hasAttributewithout castingthisfirst.Minimum reproduction
Red herring: this only occurs when there is no "DOM" lib configured in
tsconfigClosing, but should consider a warning if not configured properly. Also should make a template with the correct configs.