diff --git a/src/index.ts b/src/index.ts index a184d71..e862c4d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ // core export { DOMAPI, htmlDomApi } from "./htmldomapi"; -export { init } from "./init"; +export { init, Options } from "./init"; export { ThunkData, Thunk, ThunkFn, thunk } from "./thunk"; export { Key, VNode, VNodeData, vnode } from "./vnode"; diff --git a/src/init.ts b/src/init.ts index 6a9075a..a53b4ea 100644 --- a/src/init.ts +++ b/src/init.ts @@ -78,7 +78,7 @@ const hooks: Array = [ ]; // TODO Should `domApi` be put into this in the next major version bump? -type Options = { +export type Options = { experimental?: { fragments?: boolean; };