Skip to content

Commit

Permalink
feat(exposed): adds exposed w/ options
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Apr 22, 2019
1 parent 96fd89b commit a65f650
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/exposed/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as options } from './options';
6 changes: 6 additions & 0 deletions src/exposed/options.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import state from '~/state';
import { IOptions } from '~/types';

export default function options(opts: IOptions): void {
return state.scope(opts);
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './exposed';
export * from './types';
export { default as options } from './options';

0 comments on commit a65f650

Please sign in to comment.