diff --git a/packages/compiler-core/__tests__/transforms/vSlot.spec.ts b/packages/compiler-core/__tests__/transforms/vSlot.spec.ts index 4a7df1e8..687c4d8b 100644 --- a/packages/compiler-core/__tests__/transforms/vSlot.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vSlot.spec.ts @@ -780,9 +780,7 @@ describe('compiler: transform component slots', () => { }) test('', () => { - const { slots } = parseWithSlots( - `` - ) + const { slots } = parseWithSlots(``) expect(slots).toMatchObject(toMatch) }) }) diff --git a/packages/compiler-sfc/src/cssVars.ts b/packages/compiler-sfc/src/cssVars.ts index f51269f1..3032e2fb 100644 --- a/packages/compiler-sfc/src/cssVars.ts +++ b/packages/compiler-sfc/src/cssVars.ts @@ -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[], diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index f365e458..e86b67fa 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -29,7 +29,9 @@ import { VNode } from '@vue/runtime-core' import * as CSS from 'csstype' -export interface CSSProperties extends CSS.Properties, CSS.PropertiesHyphen { +export interface CSSProperties + extends CSS.Properties, + CSS.PropertiesHyphen { /** * The index signature was removed to enable closed typing for style * using CSSType. You're able to use type assertion or module augmentation