From 1c65c28d1e4967a578cec7bda06260dc7e0ea17f Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sat, 25 Jul 2020 16:37:32 +0200 Subject: [PATCH] [docs] TypeScript over alternative wordings --- .github/ISSUE_TEMPLATE/1.bug.md | 2 +- docs/scripts/formattedTSDemos.js | 2 +- packages/material-ui/test/typescript/styles.spec.tsx | 2 +- packages/typescript-to-proptypes/package.json | 2 +- scripts/copy-files.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug.md b/.github/ISSUE_TEMPLATE/1.bug.md index 3f8bec69f7ceac..2736492a851fc1 100644 --- a/.github/ISSUE_TEMPLATE/1.bug.md +++ b/.github/ISSUE_TEMPLATE/1.bug.md @@ -55,7 +55,7 @@ Steps: | Tech | Version | diff --git a/docs/scripts/formattedTSDemos.js b/docs/scripts/formattedTSDemos.js index c245693505abb0..990f073297d433 100644 --- a/docs/scripts/formattedTSDemos.js +++ b/docs/scripts/formattedTSDemos.js @@ -174,7 +174,7 @@ async function main(argv) { yargs .command({ command: '$0', - description: 'transpile typescript demos', + description: 'transpile TypeScript demos', builder: (command) => { return command .option('watch', { diff --git a/packages/material-ui/test/typescript/styles.spec.tsx b/packages/material-ui/test/typescript/styles.spec.tsx index fdc313eaeb1e5b..bb6ca55356814f 100644 --- a/packages/material-ui/test/typescript/styles.spec.tsx +++ b/packages/material-ui/test/typescript/styles.spec.tsx @@ -264,7 +264,7 @@ withStyles((theme) => // allow top level media queries // https://github.com/mui-org/material-ui/issues/12277 - // typescript thinks `content` is the CSS property not a classname + // TypeScript thinks `content` is the CSS property not a classname const ambiguousStyles = createStyles({ content: { minHeight: '100vh', diff --git a/packages/typescript-to-proptypes/package.json b/packages/typescript-to-proptypes/package.json index c10dee1409d5a8..ea05ca14be614b 100644 --- a/packages/typescript-to-proptypes/package.json +++ b/packages/typescript-to-proptypes/package.json @@ -2,7 +2,7 @@ "name": "typescript-to-proptypes", "version": "2.0.1", "private": true, - "description": "Generate proptypes from typescript declarations", + "description": "Generate proptypes from TypeScript declarations", "main": "build/index.js", "engines": { "node": ">=10.3.0" diff --git a/scripts/copy-files.js b/scripts/copy-files.js index bd00bda2f1a9e4..e1b71d12905c62 100644 --- a/scripts/copy-files.js +++ b/scripts/copy-files.js @@ -19,7 +19,7 @@ async function includeFileInBuild(file) { * That package.json contains information about esm for bundlers so that imports * like import Typography from '@material-ui/core/Typography' are tree-shakeable. * - * It also tests that an this import can be used in typescript by checking + * It also tests that an this import can be used in TypeScript by checking * if an index.d.ts is present at that path. * * @param {string} rootDir