feat: 问就是封包
This commit is contained in:
1 parent
d7a729ca68
commit
dd9cd782a7
67 files changed
+423
-172
No files matched your search
@@ -30,7 +30,7 @@ import { basename, extname } from 'path'
|
||||
// pushed later tests in the same shard into GC-pause territory and a
|
||||
// beforeEach/afterEach hook timeout (officialRegistry.test.ts, PR #24150).
|
||||
// Same lazy pattern the NAPI wrapper used for dlopen.
|
||||
type HLJSApi = typeof hljsNamespace
|
||||
type HLJSApi = typeof hljsNamespace.default
|
||||
let cachedHljs: HLJSApi | null = null
|
||||
function hljs(): HLJSApi {
|
||||
if (cachedHljs) return cachedHljs
|
||||
|
||||
Reference in new issue
Block a user