fix: resolve TypeScript errors in frontend build

This commit is contained in:
Hiro
2026-03-30 23:16:07 +00:00
parent b733306773
commit 24925e1acb
2941 changed files with 418042 additions and 49 deletions

22
node_modules/lowlight/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
export type {LanguageFn} from 'highlight.js'
export type {AutoOptions, Options} from './lib/index.js'
export {grammars as all} from './lib/all.js'
export {grammars as common} from './lib/common.js'
export {createLowlight} from './lib/index.js'
// Register data on hast.
declare module 'hast' {
interface RootData {
/**
* Field exposed by `lowlight` to contain the detected programming language
* name.
*/
language?: string | undefined
/**
* Field exposed by `lowlight` to contain a relevance: how sure `lowlight`
* is that the given code is in the language.
*/
relevance?: number | undefined
}
}