UNPKG

@sdc-monitor/demo

Version:

<div align="center"> <a href="#" target="_blank"> <img src="https://i.loli.net/2021/07/28/EvPwd4NjVH3tBfO.jpg" alt="mito-logo" height="90"> </a> <p>A Lightweight SDK For Monitor Web</p>

32 lines (29 loc) 783 B
import { IAnyObject } from '@sdc-monitor/types' export interface VueInstance { // fix in Vue3 typescript's declaration file error [key: string]: any config?: VueConfiguration // mixin(hooks: { [key: string]: () => void }): void version: string } export interface VueConfiguration { // for Vue2.x silent?: boolean errorHandler?(err: Error, vm: ViewModel | any, info: string): void warnHandler?(msg: string, vm: ViewModel | any, trace: string): void [key: string]: any } export interface ViewModel { [key: string]: any $root?: Record<string, unknown> $options?: { [key: string]: any name?: string // vue2.6 propsData?: IAnyObject _componentTag?: string __file?: string props?: IAnyObject } $props?: Record<string, unknown> }