We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
antfu
octref
Learn more about funding links in repositories.
Report abuse
1 parent 639aa6b commit 1fc70bdCopy full SHA for 1fc70bd
packages/monaco/src/index.ts
@@ -5,7 +5,7 @@ import { INITIAL, StackElementMetadata } from '@shikijs/core/textmate'
5
6
type Monaco = typeof monaco
7
8
-export interface MonacoInferface {
+export interface MonacoInterface {
9
editor: Monaco['editor']
10
languages: Monaco['languages']
11
}
@@ -48,7 +48,7 @@ export function textmateThemeToMonacoTheme(theme: ThemeRegistrationResolved): Mo
48
49
export function shikiToMonaco(
50
highlighter: ShikiInternal<any, any>,
51
- monaco: MonacoInferface,
+ monaco: MonacoInterface,
52
) {
53
// Convert themes to Monaco themes and register them
54
const themeMap = new Map<string, MonacoTheme>()
0 commit comments