Skip to content

Commit

Permalink
fix(monaco): typo on interface (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Mar 29, 2024
1 parent 639aa6b commit 1fc70bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/monaco/src/index.ts
Expand Up @@ -5,7 +5,7 @@ import { INITIAL, StackElementMetadata } from '@shikijs/core/textmate'

type Monaco = typeof monaco

export interface MonacoInferface {
export interface MonacoInterface {
editor: Monaco['editor']
languages: Monaco['languages']
}
Expand Down Expand Up @@ -48,7 +48,7 @@ export function textmateThemeToMonacoTheme(theme: ThemeRegistrationResolved): Mo

export function shikiToMonaco(
highlighter: ShikiInternal<any, any>,
monaco: MonacoInferface,
monaco: MonacoInterface,
) {
// Convert themes to Monaco themes and register them
const themeMap = new Map<string, MonacoTheme>()
Expand Down

0 comments on commit 1fc70bd

Please sign in to comment.