-
-
Save AnthonyLzq/d41a4ba2fe9da7bd53477f0d7695267c to your computer and use it in GitHub Desktop.
Global variable declaration in Node.js 14 <=
This file contains 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
interface CustomNodeJSGlobal extends NodeJS.Global { | |
myGlobalVariable: unknown | |
} | |
export { CustomNodeJSGlobal } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment