Skip to content

Commit

Permalink
1. typing error, literally [fixed]
Browse files Browse the repository at this point in the history
  • Loading branch information
just-do-halee committed Oct 4, 2021
1 parent 211d719 commit e123778
Show file tree
Hide file tree
Showing 24 changed files with 16 additions and 1,770 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules
/node_modules
/coverage
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# `rusultTs`

Rust **_Result Implementation for Typescript_**, simply. i.e. Modern error handling library. (no dependencies, pure Typescript code about 50 lines) 100% <a href="./coverage/lcov-report/index.html">[coverage]</a>
Rust **_Result Implementation for Typescript_**, simply. i.e. Modern error handling library. (no dependencies, pure Typescript code about 50 lines) 100% [[coverage]](https://github.com/just-do-halee/rusultts/actions/workflows/main.yml)
<br>
<br>

![Coverage lines](./coverage/badge-lines.svg)
![Coverage functions](./coverage/badge-functions.svg)
![Coverage branches](./coverage/badge-branches.svg)
![Coverage statements](./coverage/badge-statements.svg)
![Coverage lines](./badges/badge-lines.svg)
![Coverage functions](./badges/badge-functions.svg)
![Coverage branches](./badges/badge-branches.svg)
![Coverage statements](./badges/badge-statements.svg)

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
Expand Down Expand Up @@ -65,7 +65,8 @@ function divide(a: number, b: number): ResultBox<number, number> {
return Ok.new(a / b);
}
const ok = divide(4, 2).unwrap() === 2; // true
const err = divide(4, 0).isErr; // true
const err = divide(4, 0);
console.log(err.isErr); // true
try {
err.unwrap();
} catch (e) {
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
67 changes: 0 additions & 67 deletions coverage/clover.xml

This file was deleted.

3 changes: 0 additions & 3 deletions coverage/coverage-final.json

This file was deleted.

4 changes: 0 additions & 4 deletions coverage/coverage-summary.json

This file was deleted.

224 changes: 0 additions & 224 deletions coverage/lcov-report/base.css

This file was deleted.

Loading

0 comments on commit e123778

Please sign in to comment.