UNPKG

monaco-editor-vue3

Version:

![npm](https://img.shields.io/npm/v/monaco-editor-vue3) ![npm](https://img.shields.io/npm/dt/monaco-editor-vue3) ![NPM](https://img.shields.io/npm/l/monaco-editor-vue3) ![npm bundle size](https://img.shields.io/bundlephobia/min/format-rmb)

22 lines (15 loc) 508 B
declare module '*.vue' { import { App, defineComponent } from 'vue' const component: ReturnType<typeof defineComponent> & { install(app: App): void } export default component } declare type Nullable<T> = T | null; declare type CustomizedHTMLElement<T> = HTMLElement & T declare type Indexable<T> = { [key: string]: T } declare type Hash<T> = Indexable<T> declare type TimeoutHandle = ReturnType<typeof global.setTimeout> declare type ComponentSize = 'large' | 'medium' | 'small' | 'mini'