diff --git a/.changeset/purple-bottles-return.md b/.changeset/purple-bottles-return.md new file mode 100644 index 00000000..2d2263de --- /dev/null +++ b/.changeset/purple-bottles-return.md @@ -0,0 +1,17 @@ +--- +"@bbob/react": patch +"@bbob/cli": patch +"@bbob/core": patch +"@bbob/html": patch +"@bbob/parser": patch +"@bbob/plugin-helper": patch +"@bbob/preset": patch +"@bbob/preset-html5": patch +"@bbob/preset-react": patch +"@bbob/preset-vue": patch +"@bbob/types": patch +"@bbob/vue2": patch +"@bbob/vue3": patch +--- + +Fix types for BbobCoreOptions diff --git a/packages/bbob-react/test/index.test.tsx b/packages/bbob-react/test/index.test.tsx index 4313d82a..92c05b56 100644 --- a/packages/bbob-react/test/index.test.tsx +++ b/packages/bbob-react/test/index.test.tsx @@ -10,8 +10,12 @@ import { render } from '@testing-library/react' import BBCode from '../src'; -const renderBBCode = (input, options) => render( - {input} +import type { BBobCoreOptions } from "@bbob/types"; + +const plugins = [preset()] + +const renderBBCode = (input: string, options?: BBobCoreOptions) => render( + {input} ).container.innerHTML; describe('@bbob/react', () => {