refactor: give runtimeHelper symbols more readable names during dev
This commit is contained in:
parent
3146e6b942
commit
802ecccc49
@ -1,22 +1,22 @@
|
||||
export const FRAGMENT = Symbol()
|
||||
export const PORTAL = Symbol()
|
||||
export const COMMENT = Symbol()
|
||||
export const TEXT = Symbol()
|
||||
export const SUSPENSE = Symbol()
|
||||
export const EMPTY = Symbol()
|
||||
export const OPEN_BLOCK = Symbol()
|
||||
export const CREATE_BLOCK = Symbol()
|
||||
export const CREATE_VNODE = Symbol()
|
||||
export const RESOLVE_COMPONENT = Symbol()
|
||||
export const RESOLVE_DIRECTIVE = Symbol()
|
||||
export const APPLY_DIRECTIVES = Symbol()
|
||||
export const RENDER_LIST = Symbol()
|
||||
export const RENDER_SLOT = Symbol()
|
||||
export const CREATE_SLOTS = Symbol()
|
||||
export const TO_STRING = Symbol()
|
||||
export const MERGE_PROPS = Symbol()
|
||||
export const TO_HANDLERS = Symbol()
|
||||
export const CAMELIZE = Symbol()
|
||||
export const FRAGMENT = Symbol(__DEV__ ? `Fragment` : ``)
|
||||
export const PORTAL = Symbol(__DEV__ ? `Portal` : ``)
|
||||
export const COMMENT = Symbol(__DEV__ ? `Comment` : ``)
|
||||
export const TEXT = Symbol(__DEV__ ? `Text` : ``)
|
||||
export const SUSPENSE = Symbol(__DEV__ ? `Suspense` : ``)
|
||||
export const EMPTY = Symbol(__DEV__ ? `Empty` : ``)
|
||||
export const OPEN_BLOCK = Symbol(__DEV__ ? `openBlock` : ``)
|
||||
export const CREATE_BLOCK = Symbol(__DEV__ ? `createBlock` : ``)
|
||||
export const CREATE_VNODE = Symbol(__DEV__ ? `createVNode` : ``)
|
||||
export const RESOLVE_COMPONENT = Symbol(__DEV__ ? `resolveComponent` : ``)
|
||||
export const RESOLVE_DIRECTIVE = Symbol(__DEV__ ? `resolveDirective` : ``)
|
||||
export const APPLY_DIRECTIVES = Symbol(__DEV__ ? `applyDirectives` : ``)
|
||||
export const RENDER_LIST = Symbol(__DEV__ ? `renderList` : ``)
|
||||
export const RENDER_SLOT = Symbol(__DEV__ ? `renderSlot` : ``)
|
||||
export const CREATE_SLOTS = Symbol(__DEV__ ? `createSlots` : ``)
|
||||
export const TO_STRING = Symbol(__DEV__ ? `toString` : ``)
|
||||
export const MERGE_PROPS = Symbol(__DEV__ ? `mergeProps` : ``)
|
||||
export const TO_HANDLERS = Symbol(__DEV__ ? `toHandlers` : ``)
|
||||
export const CAMELIZE = Symbol(__DEV__ ? `camelize` : ``)
|
||||
|
||||
export type RuntimeHelper =
|
||||
| typeof FRAGMENT
|
||||
|
Loading…
Reference in New Issue
Block a user