Created
November 27, 2021 01:07
-
-
Save 0x0a0d/dee383a0f2ddd2b42461636cd8c23f4e to your computer and use it in GitHub Desktop.
extends type Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| declare namespace globalThis { | |
| interface Error { | |
| code?: number|string | |
| data?: any | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment