feat(shortcuts): guess embedded language and auto load in shortcuts #747
ci.yml
on: pull_request
lint
45s
typecheck
45s
Matrix: test
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.
|