Skip to content

Commit

Permalink
chore(release): v1.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ashgw committed Apr 25, 2024
1 parent 8c2edde commit 4279c6f
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 4 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ And if you're using the decorators, set this property inside `tsconfig.json`.
}
}
```
### Usage
### Docs
You can checkout the [API reference](https://ashgw.github.io/ts-roids/) for all usage examples.

### Example
#### Finalize and freeze objects
```ts
import { FinalClass, Frozen, Optional } from 'ts-roids';
Expand Down Expand Up @@ -166,7 +169,6 @@ type ResultType = TestType<Type1, Type2, true>;
```
``TestType`` accepts three arguments: the types you're comparing (``Type1`` and ``Type2``) and a boolean (true if you expected them to match, false otherwise). The resulting type will tell if your expectation is correct, true if it is, else false.

### Docs
You can checkout the [API reference](https://ashgw.github.io/ts-roids/).

### License
[GPL-3](/LICENSE)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-roids",
"version": "1.30.0",
"version": "1.31.0",
"private": false,
"description": "Bullet-proof TS even more",
"keywords": [
Expand Down

0 comments on commit 4279c6f

Please sign in to comment.