Skip to content

Commit c9613eb

Browse files
authored
chore: prettier format (#4715) [ci skip]
1 parent 7a1e662 commit c9613eb

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

packages/compiler-core/__tests__/transforms/vSlot.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,9 +780,7 @@ describe('compiler: transform component slots', () => {
780780
})
781781

782782
test('<slot w/ nested component>', () => {
783-
const { slots } = parseWithSlots(
784-
`<Comp><Comp><slot/></Comp></Comp>`
785-
)
783+
const { slots } = parseWithSlots(`<Comp><Comp><slot/></Comp></Comp>`)
786784
expect(slots).toMatchObject(toMatch)
787785
})
788786
})

packages/compiler-sfc/src/cssVars.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import { PluginCreator } from 'postcss'
1212
import hash from 'hash-sum'
1313

1414
export const CSS_VARS_HELPER = `useCssVars`
15-
export const cssVarRE = /\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([^'"][^)]*))\s*\)/g
15+
export const cssVarRE =
16+
/\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([^'"][^)]*))\s*\)/g
1617

1718
export function genCssVarsFromList(
1819
vars: string[],

packages/runtime-dom/types/jsx.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
import { VNode } from '@vue/runtime-core'
3030
import * as CSS from 'csstype'
3131

32-
export interface CSSProperties extends CSS.Properties<string | number>, CSS.PropertiesHyphen<string | number> {
32+
export interface CSSProperties
33+
extends CSS.Properties<string | number>,
34+
CSS.PropertiesHyphen<string | number> {
3335
/**
3436
* The index signature was removed to enable closed typing for style
3537
* using CSSType. You're able to use type assertion or module augmentation

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy