We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2ec1eb commit 29e3abaCopy full SHA for 29e3aba
src/index.ts
@@ -11,6 +11,10 @@ import { jsfiddle } from './jsfiddle';
11
import { rssreader } from './rssreader';
12
import { registerHexo, url_for } from './utils';
13
14
+declare global {
15
+ const hexo: import('hexo');
16
+}
17
+
18
if (typeof hexo !== 'undefined') {
19
// register hexo for utils
20
registerHexo(hexo as any);
typings/globals.d.ts
@@ -1,3 +0,0 @@
1
-declare global {
2
- const hexo: import('hexo');
3
-}
0 commit comments