Skip to content

Commit

Permalink
fix: import index absolutely
Browse files Browse the repository at this point in the history
  • Loading branch information
andy.patterson authored and andnp committed Apr 12, 2018
1 parent 95a7c20 commit b3c37e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/none.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Maybe, { MatchType } from "./maybe";
import { maybe } from "index";
import { maybe } from "./index";

export default class None<T> extends Maybe<T> {
protected constructor() { super(null); }
Expand Down
2 changes: 1 addition & 1 deletion src/some.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Maybe, { MatchType, Nil } from "./maybe";
import { maybe, none } from "index";
import { maybe, none } from "./index";

export default class Some<T> extends Maybe<T> {
static some<T>(thing: T) { return new Some<T>(thing); }
Expand Down

0 comments on commit b3c37e4

Please sign in to comment.