We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe0dc4 commit a5467cfCopy full SHA for a5467cf
package.json
@@ -61,6 +61,7 @@
61
"eslint-plugin-prefer-arrow": "^1.2.3",
62
"husky": "^9.1.7",
63
"jest": "^29.7.0",
64
+ "jest-environment-jsdom": "^29.7.0",
65
"prettier": "^3.5.3",
66
"rimraf": "^6.0.1",
67
"semantic-release": "^24.2.4",
src/feature/featureType.ts
@@ -28,8 +28,8 @@ type PlatformOptions = TreatmentPlanOptions & { entrypoint?: Entrypoint };
28
type FeatureOptions<F extends FeatureType> = F extends "treatmentPlan"
29
? TreatmentPlanOptions
30
: F extends "platform"
31
- ? PlatformOptions
32
- : Record<any, never>;
+ ? PlatformOptions
+ : Record<any, never>;
33
34
interface Feature {
35
mount: (elementId: string) => Promise<void>;
0 commit comments