diff --git a/src/index.ts b/src/index.ts index fcb073f..8462bac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,2 @@ export * from './types'; +export { default as options } from './options'; diff --git a/src/options.ts b/src/options.ts new file mode 100644 index 0000000..e3949d2 --- /dev/null +++ b/src/options.ts @@ -0,0 +1,6 @@ +import state from './state'; +import { IOptions } from './types'; + +export default function options(opts: IOptions): void { + return state.scope(opts); +}