소스 검색

chore: remove unecessary 'export' (#1785)

susiwen8 5 년 전
부모
커밋
a2c6f0c8c7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/runtime-core/src/devtools.ts

+ 2 - 2
packages/runtime-core/src/devtools.ts

@@ -2,7 +2,7 @@ import { App } from './apiCreateApp'
 import { Fragment, Text, Comment, Static } from './vnode'
 import { ComponentInternalInstance } from './component'
 
-export interface AppRecord {
+interface AppRecord {
   id: number
   app: App
   version: string
@@ -17,7 +17,7 @@ const enum DevtoolsHooks {
   COMPONENT_REMOVED = 'component:removed'
 }
 
-export interface DevtoolsHook {
+interface DevtoolsHook {
   emit: (event: string, ...payload: any[]) => void
   on: (event: string, handler: Function) => void
   once: (event: string, handler: Function) => void