Skip to content

Conversation

@HazAT
Copy link
Member

@HazAT HazAT commented Nov 11, 2021

Reverts #4124

@HazAT HazAT merged commit 922562f into master Nov 11, 2021
@HazAT HazAT deleted the revert-4124-kmclb-use-type-predicates-in-is-utils branch November 11, 2021 17:59
lobsterkatie added a commit that referenced this pull request Mar 23, 2022
This restores part of the work done in #4124, which then got reverted in #4149. The problem there was the predicates for `DOMError` and `DOMException`, both of which only exist in a browser context. This restores the predicates for `isError` and `isString`, which should be safe, because both `Error` and `string` exist in both browser and node contexts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants