From 09c5c0795a8e88d911c9a3bd3c74728861ea0700 Mon Sep 17 00:00:00 2001 From: Maelig Date: Thu, 16 Nov 2023 15:50:31 +0100 Subject: [PATCH] Update outdated link in README Link to types.ts was outdated --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 456ae36..f999e12 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ const optionalFromOrUndefined: Optional = Optional.ofNullble(orUndefined As a more explicit way to obtain prototype-free objects, `Optional.toOption` is provided. This method convert an `Optional` into an object of `Option` type, which conforms to [*discriminated unions*](http://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions) also known as *algebraic data types*. -Refer the [API document](lib/types.ts) of `Option` to learn about the structure. +Refer the [API document](src/types.ts) of `Option` to learn about the structure. ```ts const update: (original: Option) => T = /* some external function that returns without the prototype */