Skip to content

Commit

Permalink
refactor(TS-PATCH): Migrate from ttypescript to ts-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Lopez Liebana committed Feb 19, 2024
1 parent 670f552 commit 223fa6d
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 83 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,23 @@ documentation of your rules is for free.

[You can find a working example project here](https://github.com/donflopez/ttype-safe-example-project)

## Importing ttype-safe
## Importing ttype-safe and ts-patch

```package.json
"devDependencies": {
"ttypescript": "^1.5.12",
"ts-patch": "3.1.2",
"ttype-safe": "^0.6.0"
},
"scripts": {
...
"prepare": "ts-patch install -s",
...
}
```

## Configuring [ttypescript]()
## Configuring [ts-patch](https://github.com/nonara/ts-patch)

To use Type-Safe with [ttypescript](), you need to add the following to your `tsconfig.json` file:
To use tType-Safe with [ts-patch](https://github.com/nonara/ts-patch), you need to add the following to your `tsconfig.json` file:

```json
{
Expand Down
Loading

0 comments on commit 223fa6d

Please sign in to comment.