chore: prettier format (#4715) [ci skip]
This commit is contained in:
parent
7a1e6620bf
commit
c9613ebe09
@ -780,9 +780,7 @@ describe('compiler: transform component slots', () => {
|
||||
})
|
||||
|
||||
test('<slot w/ nested component>', () => {
|
||||
const { slots } = parseWithSlots(
|
||||
`<Comp><Comp><slot/></Comp></Comp>`
|
||||
)
|
||||
const { slots } = parseWithSlots(`<Comp><Comp><slot/></Comp></Comp>`)
|
||||
expect(slots).toMatchObject(toMatch)
|
||||
})
|
||||
})
|
||||
|
@ -12,7 +12,8 @@ import { PluginCreator } from 'postcss'
|
||||
import hash from 'hash-sum'
|
||||
|
||||
export const CSS_VARS_HELPER = `useCssVars`
|
||||
export const cssVarRE = /\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([^'"][^)]*))\s*\)/g
|
||||
export const cssVarRE =
|
||||
/\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([^'"][^)]*))\s*\)/g
|
||||
|
||||
export function genCssVarsFromList(
|
||||
vars: string[],
|
||||
|
4
packages/runtime-dom/types/jsx.d.ts
vendored
4
packages/runtime-dom/types/jsx.d.ts
vendored
@ -29,7 +29,9 @@
|
||||
import { VNode } from '@vue/runtime-core'
|
||||
import * as CSS from 'csstype'
|
||||
|
||||
export interface CSSProperties extends CSS.Properties<string | number>, CSS.PropertiesHyphen<string | number> {
|
||||
export interface CSSProperties
|
||||
extends CSS.Properties<string | number>,
|
||||
CSS.PropertiesHyphen<string | number> {
|
||||
/**
|
||||
* The index signature was removed to enable closed typing for style
|
||||
* using CSSType. You're able to use type assertion or module augmentation
|
||||
|
Loading…
Reference in New Issue
Block a user