Skip to content

Commit 1fc70bd

Browse files
authoredMar 29, 2024··
fix(monaco): typo on interface (#644)
1 parent 639aa6b commit 1fc70bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/monaco/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { INITIAL, StackElementMetadata } from '@shikijs/core/textmate'
55

66
type Monaco = typeof monaco
77

8-
export interface MonacoInferface {
8+
export interface MonacoInterface {
99
editor: Monaco['editor']
1010
languages: Monaco['languages']
1111
}
@@ -48,7 +48,7 @@ export function textmateThemeToMonacoTheme(theme: ThemeRegistrationResolved): Mo
4848

4949
export function shikiToMonaco(
5050
highlighter: ShikiInternal<any, any>,
51-
monaco: MonacoInferface,
51+
monaco: MonacoInterface,
5252
) {
5353
// Convert themes to Monaco themes and register them
5454
const themeMap = new Map<string, MonacoTheme>()

0 commit comments

Comments
 (0)
Please sign in to comment.