File tree Expand file tree Collapse file tree 4 files changed +83
-132
lines changed Expand file tree Collapse file tree 4 files changed +83
-132
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 66
77# Function: coerceSettings()
88
9- > ** coerceSettings** (` settings ` ): ` object `
9+ > ** coerceSettings** (` settings ` ): ` PartialDeep ` \< [ ` ESLintReactSettings ` ] ( ../type-aliases/ESLintReactSettings.md ) \>
1010
1111Coerces 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 ) \>
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments