Skip to content

Commit be08214

Browse files
committed
build: fix docs gen
1 parent bbecbb7 commit be08214

File tree

3 files changed

+44
-42
lines changed

3 files changed

+44
-42
lines changed

src/elements/BoxAndWiskers.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ export interface IBoxAndWhiskersOptions extends IStatsBaseOptions {
1616
/**
1717
* separate color for the median line
1818
* @default 'transparent' takes the current borderColor
19-
* @scriptable
20-
* @indexable
19+
* scriptable
20+
* indexable
2121
*/
2222
medianColor: string;
2323

2424
/**
2525
* color the lower half (median-q3) of the box in a different color
2626
* @default 'transparent' takes the current borderColor
27-
* @scriptable
28-
* @indexable
27+
* scriptable
28+
* indexable
2929
*/
3030
lowerBackgroundColor: string;
3131
}

src/elements/base.ts

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ import type { ExtendedTooltip } from '../tooltip';
66
export interface IStatsBaseOptions {
77
/**
88
* @default see rectangle
9-
* @scriptable
10-
* @indexable
9+
* scriptable
10+
* indexable
1111
*/
1212
backgroundColor: string;
1313

1414
/**
1515
* @default see rectangle
16-
* @scriptable
17-
* @indexable
16+
* scriptable
17+
* indexable
1818
*/
1919
borderColor: string;
2020

2121
/**
2222
* @default 1
23-
* @scriptable
24-
* @indexable
23+
* scriptable
24+
* indexable
2525
*/
2626
borderWidth: number;
2727

@@ -44,28 +44,28 @@ export interface IStatsBaseOptions {
4444
/**
4545
* radius used to render outliers
4646
* @default 2
47-
* @scriptable
48-
* @indexable
47+
* scriptable
48+
* indexable
4949
*/
5050
outlierRadius: number;
5151

5252
/**
5353
* @default see rectangle.backgroundColor
54-
* @scriptable
55-
* @indexable
54+
* scriptable
55+
* indexable
5656
*/
5757
outlierBackgroundColor: string;
5858

5959
/**
6060
* @default see rectangle.borderColor
61-
* @scriptable
62-
* @indexable
61+
* scriptable
62+
* indexable
6363
*/
6464
outlierBorderColor: string;
6565
/**
6666
* @default 1
67-
* @scriptable
68-
* @indexable
67+
* scriptable
68+
* indexable
6969
*/
7070
outlierBorderWidth: number;
7171

@@ -88,55 +88,55 @@ export interface IStatsBaseOptions {
8888
/**
8989
* radius used to render items
9090
* @default 0 so disabled
91-
* @scriptable
92-
* @indexable
91+
* scriptable
92+
* indexable
9393
*/
9494
itemRadius: number;
9595

9696
/**
9797
* background color for items
9898
* @default see rectangle.backgroundColor
99-
* @scriptable
100-
* @indexable
99+
* scriptable
100+
* indexable
101101
*/
102102
itemBackgroundColor: string;
103103

104104
/**
105105
* border color for items
106106
* @default see rectangle.borderColor
107-
* @scriptable
108-
* @indexable
107+
* scriptable
108+
* indexable
109109
*/
110110
itemBorderColor: string;
111111

112112
/**
113113
* border width for items
114114
* @default 0
115-
* @scriptable
116-
* @indexable
115+
* scriptable
116+
* indexable
117117
*/
118118
itemBorderWidth: number;
119119
/**
120120
* hit radius for hit test of items
121121
* @default 0
122-
* @scriptable
123-
* @indexable
122+
* scriptable
123+
* indexable
124124
*/
125125
itemHitRadius: number;
126126

127127
/**
128128
* padding that is added around the bounding box when computing a mouse hit
129129
* @default 2
130-
* @scriptable
131-
* @indexable
130+
* scriptable
131+
* indexable
132132
*/
133133
hitPadding: number;
134134

135135
/**
136136
* hit radius for hit test of outliers
137137
* @default 4
138-
* @scriptable
139-
* @indexable
138+
* scriptable
139+
* indexable
140140
*/
141141
outlierHitRadius: number;
142142

@@ -159,32 +159,32 @@ export interface IStatsBaseOptions {
159159
/**
160160
* radius used to mean dots
161161
* @default 3
162-
* @scriptable
163-
* @indexable
162+
* scriptable
163+
* indexable
164164
*/
165165
meanRadius: number;
166166

167167
/**
168168
* background color for mean dot
169169
* @default see rectangle.backgroundColor
170-
* @scriptable
171-
* @indexable
170+
* scriptable
171+
* indexable
172172
*/
173173
meanBackgroundColor: string;
174174

175175
/**
176176
* border color for mean dot
177177
* @default see rectangle.borderColor
178-
* @scriptable
179-
* @indexable
178+
* scriptable
179+
* indexable
180180
*/
181181
meanBorderColor: string;
182182

183183
/**
184184
* border width for mean dot
185185
* @default 0
186-
* @scriptable
187-
* @indexable
186+
* scriptable
187+
* indexable
188188
*/
189189
meanBorderWidth: number;
190190
}

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@
1818
"noUnusedParameters": true,
1919
"noImplicitReturns": true,
2020
"noFallthroughCasesInSwitch": true,
21-
"moduleResolution": "node",
21+
"moduleResolution": "Bundler",
2222
"jsx": "react",
2323
"esModuleInterop": true,
2424
"rootDir": "./src",
2525
"baseUrl": "./",
2626
"noEmit": true,
2727
"paths": {
2828
"@": ["./src"],
29-
"*": ["*", "node_modules/*"]
29+
"*": ["*", "node_modules/*"],
30+
// workaround for: https://github.com/vitest-dev/vitest/issues/4567
31+
"rollup/parseAst": ["./node_modules/rollup/dist/parseAst"]
3032
}
3133
},
3234
"include": ["src/**/*.ts", "src/**/*.tsx", "docs/**/*.tsx"]

0 commit comments

Comments
 (0)