Skip to content

Commit a5467cf

Browse files
committed
fix jest and prettier
1 parent 8fe0dc4 commit a5467cf

File tree

3 files changed

+441
-17
lines changed

3 files changed

+441
-17
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"eslint-plugin-prefer-arrow": "^1.2.3",
6262
"husky": "^9.1.7",
6363
"jest": "^29.7.0",
64+
"jest-environment-jsdom": "^29.7.0",
6465
"prettier": "^3.5.3",
6566
"rimraf": "^6.0.1",
6667
"semantic-release": "^24.2.4",

src/feature/featureType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ type PlatformOptions = TreatmentPlanOptions & { entrypoint?: Entrypoint };
2828
type FeatureOptions<F extends FeatureType> = F extends "treatmentPlan"
2929
? TreatmentPlanOptions
3030
: F extends "platform"
31-
? PlatformOptions
32-
: Record<any, never>;
31+
? PlatformOptions
32+
: Record<any, never>;
3333

3434
interface Feature {
3535
mount: (elementId: string) => Promise<void>;

0 commit comments

Comments
 (0)