chore: merge imports

This commit is contained in:
Evan You 2018-10-02 18:33:05 -04:00
parent 66ad46ad7a
commit c4481a49e8

View File

@ -1,10 +1,9 @@
import { EMPTY_OBJ, nativeOnRE, vnodeHookRE } from './utils' import { immutable, unwrap, lock, unlock } from '@vue/observer'
import { import {
ComponentClass, ComponentClass,
MountedComponent, MountedComponent,
FunctionalComponent FunctionalComponent
} from './component' } from './component'
import { immutable, unwrap, lock, unlock } from '@vue/observer'
import { import {
Data, Data,
ComponentPropsOptions, ComponentPropsOptions,
@ -12,7 +11,14 @@ import {
Prop, Prop,
PropType PropType
} from './componentOptions' } from './componentOptions'
import { camelize, hyphenate, capitalize } from './utils' import {
EMPTY_OBJ,
nativeOnRE,
vnodeHookRE,
camelize,
hyphenate,
capitalize
} from './utils'
export function initializeProps(instance: MountedComponent, data: Data | null) { export function initializeProps(instance: MountedComponent, data: Data | null) {
const { props, attrs } = resolveProps( const { props, attrs } = resolveProps(