-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
TypeScript Version: 2.2.2
elm.setAttribute('disabled', true) // should be allowed
elm.setAttribute('disabled', 1) // should be allowedExpected behavior:
value
A DOMString containing the value to assign to the attribute. Any non-string value specified is converted automatically into a string.
https://developer.mozilla.org/en/docs/Web/API/Element/setAttribute
Actual behavior:
setAttribute(name: string, value: string): void
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug