Skip to content

Commit

Permalink
feat(options): implements and exports options from entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Apr 20, 2019
1 parent 2e49b5e commit 3f0ae47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './types';
export { default as options } from './options';
6 changes: 6 additions & 0 deletions src/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);
}

0 comments on commit 3f0ae47

Please sign in to comment.