Skip to content

Commit 793e78a

Browse files
committed
Update type-fest to v5.1.0
1 parent ad42ab5 commit 793e78a

File tree

4 files changed

+83
-132
lines changed

4 files changed

+83
-132
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"ts-pattern": "^5.8.0",
8989
"tsdown": "^0.15.6",
9090
"tsx": "^4.20.6",
91-
"type-fest": "^5.0.1",
91+
"type-fest": "^5.1.0",
9292
"typedoc": "^0.28.14",
9393
"typedoc-plugin-markdown": "^4.9.0",
9494
"typedoc-plugin-mdn-links": "^5.0.10",

packages/shared/docs/functions/coerceSettings.md

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Function: coerceSettings()
88

9-
> **coerceSettings**(`settings`): `object`
9+
> **coerceSettings**(`settings`): `PartialDeep`\<[`ESLintReactSettings`](../type-aliases/ESLintReactSettings.md)\>
1010
1111
Coerces unknown input to ESLintReactSettings type
1212

@@ -20,53 +20,4 @@ The settings object to coerce
2020

2121
## Returns
2222

23-
### importSource?
24-
25-
> `optional` **importSource**: `string`
26-
27-
The source where React is imported from
28-
Allows specifying a custom import location for React
29-
30-
#### Default
31-
32-
```ts
33-
"react"
34-
```
35-
36-
#### Example
37-
38-
```ts
39-
"@pika/react"
40-
```
41-
42-
### polymorphicPropName?
43-
44-
> `optional` **polymorphicPropName**: `string`
45-
46-
The prop name used for polymorphic components
47-
Used to determine the component's type
48-
49-
#### Example
50-
51-
```ts
52-
"as"
53-
```
54-
55-
### version?
56-
57-
> `optional` **version**: `string`
58-
59-
React version to use
60-
"detect" means auto-detect React version from project dependencies
61-
62-
#### Example
63-
64-
```ts
65-
"18.3.1"
66-
```
67-
68-
#### Default
69-
70-
```ts
71-
"detect"
72-
```
23+
`PartialDeep`\<[`ESLintReactSettings`](../type-aliases/ESLintReactSettings.md)\>

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@tsconfig/node22": "^22.0.2",
4646
"@types/picomatch": "^4.0.2",
4747
"tsdown": "^0.15.6",
48-
"type-fest": "^5.0.1"
48+
"type-fest": "^5.1.0"
4949
},
5050
"engines": {
5151
"node": ">=20.19.0"

0 commit comments

Comments
 (0)