Skip to content

Commit

Permalink
chore: fix TypeError (#198)
Browse files Browse the repository at this point in the history
replace npm run test:update with npm run test

Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
  • Loading branch information
priyang12 and kentcdodds committed Dec 24, 2022
1 parent bf5072b commit 93576f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
## Committing and Pushing changes

Please make sure to run the tests before you commit your changes. You can run
`npm run test:update` which will update any snapshots that need updating. Make
sure to include those changes (if they exist) in your commit.
`npm run test` which will update any snapshots that need updating. Make sure to
include those changes (if they exist) in your commit.

## Help needed

Expand Down
2 changes: 1 addition & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ type MDXExportFunction<
> = (
code: string,
globals?: Record<string, unknown>,
) => MDXExport<ExportedObject, Frontmatter>
) => ReturnType<MDXExport<ExportedObject, Frontmatter>>

0 comments on commit 93576f4

Please sign in to comment.