Skip to content

Commit 216a926

Browse files
chore(deps): use prettier v3.3.3 (#7816)
1 parent 6993177 commit 216a926

File tree

7 files changed

+28
-327
lines changed

7 files changed

+28
-327
lines changed

.github/renovate.json

+2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
"@types/node",
2121
"@types/react",
2222
"@types/react-dom",
23+
"eslint-plugin-react-compiler",
2324
"node",
2425
"react",
2526
"react-dom",
2627
"react-scripts",
28+
"tsup",
2729
"typescript",
2830
"typescript47",
2931
"typescript48",

examples/angular/basic/src/app/components/posts.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>Posts</h1>
2020
queryClient.getQueryData(['post', post.id])
2121
? {
2222
fontWeight: 'bold',
23-
color: 'green'
23+
color: 'green',
2424
}
2525
: {}
2626
"

examples/angular/router/src/app/components/posts.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1>Posts</h1>
1919
queryClient.getQueryData(['post', post.id])
2020
? {
2121
fontWeight: 'bold',
22-
color: 'green'
22+
color: 'green',
2323
}
2424
: {}
2525
"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"jsdom": "^24.1.0",
5757
"knip": "^5.26.0",
5858
"nx": "^19.4.3",
59-
"prettier": "^4.0.0-alpha.8",
59+
"prettier": "^3.3.3",
6060
"prettier-plugin-svelte": "^3.2.3",
6161
"publint": "^0.2.8",
6262
"react": "19.0.0-rc-4c2e457c7c-20240522",

packages/query-core/src/query.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ function getDefaultState<
663663
return {
664664
data,
665665
dataUpdateCount: 0,
666-
dataUpdatedAt: hasData ? initialDataUpdatedAt ?? Date.now() : 0,
666+
dataUpdatedAt: hasData ? (initialDataUpdatedAt ?? Date.now()) : 0,
667667
error: null,
668668
errorUpdateCount: 0,
669669
errorUpdatedAt: 0,

packages/vue-query/src/types.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ export type MaybeRefDeep<T> = MaybeRef<
2828

2929
export type NoUnknown<T> = Equal<unknown, T> extends true ? never : T
3030

31-
export type Equal<TTargetA, TTargetB> = (<T>() => T extends TTargetA
32-
? 1
33-
: 2) extends <T>() => T extends TTargetB ? 1 : 2
34-
? true
35-
: false
31+
export type Equal<TTargetA, TTargetB> =
32+
(<T>() => T extends TTargetA ? 1 : 2) extends <T>() => T extends TTargetB
33+
? 1
34+
: 2
35+
? true
36+
: false
3637

3738
export type DeepUnwrapRef<T> = T extends UnwrapLeaf
3839
? T

0 commit comments

Comments
 (0)