Skip to content

Commit

Permalink
chore: migrate to [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
andnp committed Mar 13, 2019
1 parent 384281c commit 12ebbbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"rollup-plugin-typescript2": "^0.19.0",
"ts-jest": "24.0.0",
"ts-node": "^8.0.3",
"tslint": "^5.9.1",
"tslint": "^5.13.0",
"typescript": "^2.8.1"
},
"commitlint": {
Expand Down
6 changes: 3 additions & 3 deletions src/transformer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConstructorFor, Unknown, Nullable } from 'simplytyped';
import { ConstructorFor, Nullable } from 'simplytyped';
// @ts-ignore
import Maybe, { MatchType, Nil } from './maybe';
import { maybe } from './index';
Expand All @@ -22,10 +22,10 @@ const getMap = (x: MonadLike<any>): Monad<any>['map'] => {
return x.map.bind(x) as any;
};

export class MaybeT<T extends MonadLike<Unknown>> {
export class MaybeT<T extends MonadLike<unknown>> {
private constructor(private value: T) {}

static maybeT<V extends MonadLike<Unknown>>(monad: V) {
static maybeT<V extends MonadLike<unknown>>(monad: V) {
return new MaybeT(monad);
}

Expand Down

0 comments on commit 12ebbbb

Please sign in to comment.