We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b877f5b commit a0efe18Copy full SHA for a0efe18
packages/core/src/plugin-system/plugin.ts
@@ -47,9 +47,7 @@ export const createPlugin = capsule(
47
} as BlobType
48
)
49
50
- const options: O | undefined = rawOptions
51
- ? { ...(defaultOptions ?? {}), ...rawOptions }
52
- : undefined
+ const options = { ...(defaultOptions ?? {}), ...(rawOptions ?? {}) } as O
53
54
pluginContext.init(options)
55
pluginContext.use = createUse(pluginContext)
0 commit comments