From 0ef0a1ec8f791c868c5d0a10273a5fbc04b9182e Mon Sep 17 00:00:00 2001 From: Jeff Wilcox <427913+jeffwilcox@users.noreply.github.com> Date: Mon, 27 Jun 2022 16:39:36 -0700 Subject: [PATCH] CONTRIBUTING.md: Updating typecheck instructions The `typecheck` script was renamed in the past in #1960, correcting the contribution docs --- contributor-docs/CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributor-docs/CONTRIBUTING.md b/contributor-docs/CONTRIBUTING.md index c8783dffaf1..bdb8d130dd2 100644 --- a/contributor-docs/CONTRIBUTING.md +++ b/contributor-docs/CONTRIBUTING.md @@ -142,10 +142,10 @@ See [`src/__tests__/example.js`](src/__tests__/example.js) for examples of ways ### TypeScript support -Primer React is written in TypeScript. We include type definitions in our built artifacts. To check types, run the `typecheck` script: +Primer React is written in TypeScript. We include type definitions in our built artifacts. To check types, run the `type-check` test script: ``` -npm run typecheck +npm run test:type-check ``` ### Additional resources