Skip to content

Commit

Permalink
chore(deps): update dependencies (#11)
Browse files Browse the repository at this point in the history
* chore(deps): update dependencies

* ci: update to Node.js 18

* test: install `@vitest/coverage-v8`

* test: update MSW
  • Loading branch information
angeloashmore authored Dec 12, 2023
1 parent edce887 commit af13743
Show file tree
Hide file tree
Showing 11 changed files with 6,373 additions and 10,386 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
node: [18]

steps:
- name: Set up Node
Expand Down Expand Up @@ -49,11 +49,11 @@ jobs:
run: npm run build

- name: Coverage
if: matrix.os == 'ubuntu-latest' && matrix.node == 14
if: matrix.os == 'ubuntu-latest' && matrix.node == 18
uses: codecov/codecov-action@v3

- name: Size
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest' && matrix.node == 14
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest' && matrix.node == 18
uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"plugins": ["prettier-plugin-jsdoc"],
"jsdocSeparateReturnsFromParam": true,
"jsdocSeparateTagGroups": true,
"jsdocSingleLineComment": false,
"jsdocCommentLineStrategy": "multiline",
"tsdoc": true,
"printWidth": 80,
"useTabs": true,
Expand Down
6 changes: 3 additions & 3 deletions docs/07-how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ type TransformProcedureArgs<TArgs> = TArgs extends
| unknown[]
? {
[P in keyof TArgs]: TransformProcedureArgs<TArgs[P]>;
}
}
: TArgs extends Buffer
? Blob
: TArgs;
? Blob
: TArgs;
```

This type accepts arguments via the `TArgs` type parameter and transforms them based on their type:
Expand Down
Loading

0 comments on commit af13743

Please sign in to comment.