wip: add types to refactored runtime-core

This commit is contained in:
Evan You
2019-05-26 15:19:44 +08:00
parent 3cded86b98
commit b3f8b5ae0a
9 changed files with 269 additions and 135 deletions

View File

@@ -1,6 +1,6 @@
import { isString } from '@vue/shared'
export function patchStyle(el: any, prev: any, next: any, data: any) {
export function patchStyle(el: any, prev: any, next: any) {
const { style } = el
if (!next) {
el.removeAttribute('style')