chore(deps): bump prettier from 3.8.3 to 3.9.4#631
Merged
Annotations
2 errors
|
Test
Process completed with exit code 1.
|
|
Test:
test/packages/preact.test.ts#L9
Error: Snapshot `preact@10.19.4 1` mismatched
- Expected
+ Received
@@ -373,12 +373,11 @@
"id": "+interface.Component.+method.componentWillReceiveProps",
"kind": "interface-method",
"line": 120,
"name": "componentWillReceiveProps",
"signature": "componentWillReceiveProps:
- | ((nextProps: Readonly<P>, nextContext: any) => void)
- | undefined;",
+ ((nextProps: Readonly<P>, nextContext: any) => void) | undefined;",
},
{
"docs": [],
"file": "/preact/src/index.d.ts",
"id": "+interface.Component.+method.componentWillUnmount",
@@ -417,12 +416,11 @@
"id": "+interface.Component.+method.getSnapshotBeforeUpdate",
"kind": "interface-method",
"line": 131,
"name": "getSnapshotBeforeUpdate",
"signature": "getSnapshotBeforeUpdate:
- | ((oldProps: Readonly<P>, oldState: Readonly<S>) => any)
- | undefined;",
+ ((oldProps: Readonly<P>, oldState: Readonly<S>) => any) | undefined;",
},
{
"docs": [],
"file": "/preact/src/index.d.ts",
"id": "+interface.Component.+method.shouldComponentUpdate",
@@ -479,12 +477,11 @@
"id": "+interface.ComponentClass.+method.getDerivedStateFromProps",
"kind": "interface-method",
"line": 101,
"name": "getDerivedStateFromProps",
"signature": "getDerivedStateFromProps:
- | ((props: Readonly<P>, state: Readonly<S>) => Partial<S> | null)
- | undefined;",
+ ((props: Readonly<P>, state: Readonly<S>) => Partial<S> | null) | undefined;",
},
],
"name": "ComponentClass",
"properties": [
{
@@ -1116,18 +1113,11 @@
"id": "+type.ComponentChild",
"kind": "type",
"line": 44,
"name": "ComponentChild",
"signature": "type ComponentChild =
- | VNode<any>
- | object
- | string
- | number
- | bigint
- | boolean
- | null
- | undefined;",
+ VNode<any> | object | string | number | bigint | boolean | null | undefined;",
},
{
"docs": [],
"file": "/preact/src/index.d.ts",
"id": "+type.ComponentChildren",
❯ test/packages/preact.test.ts:9:5
|
background
wait
wait-all
cancel
parallel
Loading