Skip to content

feat(shortcuts): guess embedded language and auto load in shortcuts #747

feat(shortcuts): guess embedded language and auto load in shortcuts

feat(shortcuts): guess embedded language and auto load in shortcuts #747

Triggered via pull request February 15, 2025 17:39
Status Failure
Total duration 1m 53s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

18 errors
test (18.x, ubuntu-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (18.x, ubuntu-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (18.x, ubuntu-latest)
Process completed with exit code 1.
test (lts/*, macos-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (lts/*, macos-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (lts/*, macos-latest)
Process completed with exit code 1.
test (20.x, ubuntu-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (20.x, ubuntu-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (20.x, ubuntu-latest)
Process completed with exit code 1.
typecheck
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
typecheck
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
typecheck
Process completed with exit code 1.
test (lts/*, ubuntu-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (lts/*, ubuntu-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test (lts/*, windows-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (lts/*, windows-latest)
Type '{ getInternalContext: () => ShikiInternal<never, never>; loadTheme: (...themes: (ThemeInput | "none")[]) => Promise<void>; loadThemeSync: (...themes: MaybeArray<ThemeRegistrationAny>[]) => void; ... 14 more ...; codeToHtml: (code: string, options: CodeToHastOptions<...>) => string; }' is missing the following properties from type 'HighlighterGeneric<never, never>': getBundledLanguages, getBundledThemes
test (lts/*, windows-latest)
Process completed with exit code 1.