Comparing version 0.1.0 to 0.1.1
@@ -21,3 +21,3 @@ declare module "opty" { | ||
} | ||
export declare class Some<T> implements Option<T> { | ||
export class Some<T> implements Option<T> { | ||
private value; | ||
@@ -44,3 +44,3 @@ constructor(v: T); | ||
} | ||
export declare class None<T> implements Option<T> { | ||
export class None<T> implements Option<T> { | ||
constructor(); | ||
@@ -82,3 +82,3 @@ map<U>(fn: (a: T) => U): Option<U>; | ||
} | ||
export declare class Ok<T, E> implements Result<T, E> { | ||
export class Ok<T, E> implements Result<T, E> { | ||
private value; | ||
@@ -101,3 +101,3 @@ constructor(v: T); | ||
} | ||
export declare class Err<T, E> implements Result<T, E> { | ||
export class Err<T, E> implements Result<T, E> { | ||
private error; | ||
@@ -104,0 +104,0 @@ constructor(error: E); |
{ | ||
"name": "opty", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Option and Result type ported from Rust", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
26929
9