typescript(option): chore: proper capitalisation for typescript
typescript(option): typescript(option): BlueGhost told me I'm supposed to write TypeScript, not typescript, so here I am making a commit for modifying 4 characters =) Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
0350517b71
commit
1d2e49fb02
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# Option
|
# Option
|
||||||
|
|
||||||
Probably the most opinionated implementation of the Option type for typescript.
|
Probably the most opinionated implementation of the Option type for TypeScript.
|
||||||
|
|
||||||
## Features:
|
## Features:
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ Probably the most opinionated implementation of the Option type for typescript.
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
Both limitaions bellow come from the lack of nominal-typing offered by typescript and are inherited from the `Brand` type offered by the [utility-types](https://github.com/piotrwitek/utility-types) library
|
Both limitaions bellow come from the lack of nominal-typing offered by TypeScript and are inherited from the `Brand` type offered by the [utility-types](https://github.com/piotrwitek/utility-types) library
|
||||||
|
|
||||||
- Due to the way the library works (using the `Brand`
|
- Due to the way the library works (using the `Brand`
|
||||||
type from [utility-types](https://github.com/piotrwitezutility-types)) `Some(4) === 4` will return true, similarly to how `4 == "4"` returns true (except in this libraries case the `===` operator will behave the same way).
|
type from [utility-types](https://github.com/piotrwitezutility-types)) `Some(4) === 4` will return true, similarly to how `4 == "4"` returns true (except in this libraries case the `===` operator will behave the same way).
|
||||||
|
|
Loading…
Reference in a new issue