Skip to content

Commit 93576f4

Browse files
chore: fix TypeError (#198)
replace npm run test:update with npm run test Co-authored-by: Kent C. Dodds <[email protected]>
1 parent bf5072b commit 93576f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
2929
## Committing and Pushing changes
3030
3131
Please make sure to run the tests before you commit your changes. You can run
32-
`npm run test:update` which will update any snapshots that need updating. Make
33-
sure to include those changes (if they exist) in your commit.
32+
`npm run test` which will update any snapshots that need updating. Make sure to
33+
include those changes (if they exist) in your commit.
3434
3535
## Help needed
3636

src/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,4 @@ type MDXExportFunction<
204204
> = (
205205
code: string,
206206
globals?: Record<string, unknown>,
207-
) => MDXExport<ExportedObject, Frontmatter>
207+
) => ReturnType<MDXExport<ExportedObject, Frontmatter>>

0 commit comments

Comments
 (0)