-
-
Save ashleyww93/12f8350ecc552c1d29ce93271147f325 to your computer and use it in GitHub Desktop.
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
declare global { | |
// eslint-disable-next-line no-var | |
var $RefreshReg$: () => void; | |
// eslint-disable-next-line no-var | |
var $RefreshSig$: (type: string) => (type: string) => string; | |
} | |
if (import.meta.hot) { | |
self.window = self; | |
self.$RefreshReg$ = () => {}; | |
self.$RefreshSig$ = () => type => type; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment