@sweet-monads/interfaces
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@sweet-monads/interfaces", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Monad interfaces", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"homepage": "https://github.com/JSMonk/sweet-monads/tree/master/interfaces", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/JSMonk/sweet-monads/tree/master/interfaces" | ||
}, | ||
"scripts": {}, | ||
@@ -8,0 +13,0 @@ "author": "", |
@@ -24,4 +24,4 @@ # @sweet-monads/interfaces | ||
class Container<T> implements Functor<T> { | ||
map<A>(fn: (i: T) => A): Container<T> { | ||
return new Container<T>(); | ||
map<A>(fn: (i: T) => A): Container<A> { | ||
return new Container<A>(); | ||
} | ||
@@ -28,0 +28,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6638
0
0