Skip to content

Commit 449e450

Browse files
author
Orta Therox
authored
Merge pull request microsoft#2024 from futurGH/typo-fix
Fix small grammatical issues/typos on branding & download pages
2 parents 805fd8d + 92f92bc commit 449e450

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/typescriptlang-org/src/pages/branding.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const Index: React.FC<Props> = (props) => {
2929

3030
<Row className="main-content-block recommendations">
3131
<p style={{ flex: 1 }}>Please use the blue TypeScript mark above as the primary logo for TypeScript.</p>
32-
<p style={{ flex: 1 }}>This is the right logos for blog posts, news articles, give-away stickers and general marketing for yourself.</p>
33-
<p style={{ flex: 1 }}>The “TS” is the logo is white, not transparent by default.</p>
32+
<p style={{ flex: 1 }}>This is the right logo for blog posts, news articles, giveaway stickers and general marketing for yourself.</p>
33+
<p style={{ flex: 1 }}>The “TS” in the logo is white, not transparent by default.</p>
3434
<p style={{ flex: 1 }}>There is a capital “S” in TypeScript, just like in JavaScript.</p>
3535
</Row>
3636

@@ -42,7 +42,7 @@ const Index: React.FC<Props> = (props) => {
4242
<a href={withPrefix("/branding/typescript-design-assets.zip")}>
4343
<img src={withPrefix("images/branding/two-colors.svg")} style={{ maxWidth: "100%", margin: "2rem 0" }} />
4444
</a>
45-
<p className="attached-bottom">Single color variant which has the “TS” cut out, useful for when you need a single color designs</p>
45+
<p className="attached-bottom">Single color variant which has the “TS” cut out, useful for when you need a single color design.</p>
4646
</div>
4747

4848
<div className="raised content main-content-block subheadline">

packages/typescriptlang-org/src/templates/pages/download.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Index: React.FC<Props> = (props) => {
5656
The Nuget Package Manager Console (found in Tools &gt; NuGet Package Manager &gt; Package Manager Console) and then running:<br /><code style={{ fontSize: "14px" }}>Install-Package Microsoft.TypeScript.MSBuild</code>
5757
</li>
5858
</ul>
59-
<p>For project types which don't support Nuget. You can use the <a href={releaseInfo.vs.stable.vs2019_download}> TypeScript Visual Studio extension</a>. You can <a href="https://docs.microsoft.com/visualstudio/ide/finding-and-using-visual-studio-extensions?view=vs-2019">install the extension</a> using <code>Extensions &gt; Manage Extensions</code> in Visual Studio.</p>
59+
<p>For project types which don't support Nuget, you can use the <a href={releaseInfo.vs.stable.vs2019_download}> TypeScript Visual Studio extension</a>. You can <a href="https://docs.microsoft.com/visualstudio/ide/finding-and-using-visual-studio-extensions?view=vs-2019">install the extension</a> using <code>Extensions &gt; Manage Extensions</code> in Visual Studio.</p>
6060
</div>
6161
</section>
6262
</div >
@@ -67,12 +67,12 @@ const Index: React.FC<Props> = (props) => {
6767

6868
<div className="raised main-content-block">
6969
<h2>Globally Installing TypeScript</h2>
70-
<p>It can be handy to have TypeScript available across all projects, often to test one-off ideas. Long-term, codebases should prefer a project-wide installation over a global install so that they can benefit from reproducible builds across different machines..</p>
70+
<p>It can be handy to have TypeScript available across all projects, often to test one-off ideas. Long-term, codebases should prefer a project-wide installation over a global install so that they can benefit from reproducible builds across different machines.</p>
7171

7272
<section style={{ display: "flex", flexWrap: "wrap" }}>
7373
<div style={{ borderRight: "1px lightgrey solid", padding: "1rem", flex: 1, minWidth: "240px" }}>
7474
<h3>via npm</h3>
75-
<p>You can use npm to install TypeScript globally, this means you can use the <code>tsc</code> command anywhere in your terminal.</p>
75+
<p>You can use npm to install TypeScript globally, this means that you can use the <code>tsc</code> command anywhere in your terminal.</p>
7676
<p>To do this, run <code>npm install -g typescript</code>. This will install the latest version (currently {releaseInfo.tags.stableMajMin}).</p>
7777
<p>An alternative is to use <a title="Link to the npx package on npm" href="https://www.npmjs.com/package/npx">npx</a> when you have to run <code>tsc</code> for one-off occasions.</p>
7878
</div>
@@ -89,7 +89,7 @@ const Index: React.FC<Props> = (props) => {
8989
<div className="raised main-content-block">
9090
<h2>Working with TypeScript-compatible transpilers</h2>
9191
<p>There are other tools which convert TypeScript files to JavaScript files. You might use these tools for speed or consistency with your existing build tooling.</p>
92-
<p>Each of these projects handle the file conversion, but do not handle the type-checking aspects of the TypeScript compiler. So, it's likely you'll still need to keep the TypeScript dependency from above around, and you'll want to enable <Link to="/tsconfig#isolatedModules"><code>isolatedModules</code></Link>.</p>
92+
<p>Each of these projects handle the file conversion, but do not handle the type-checking aspects of the TypeScript compiler. So it's likely that you will still need to keep the above TypeScript dependency around, and you will want to enable <Link to="/tsconfig#isolatedModules"><code>isolatedModules</code></Link>.</p>
9393

9494
<section style={{ display: "flex", flexWrap: "wrap" }}>
9595
<div style={{ borderRight: "1px lightgrey solid", padding: "1rem", flex: 1, minWidth: "240px" }}>
@@ -99,7 +99,7 @@ const Index: React.FC<Props> = (props) => {
9999

100100
<div style={{ borderRight: "1px lightgrey solid", padding: "1rem", flex: 1, minWidth: "240px" }}>
101101
<h3>swc</h3>
102-
<p><a href='https://swc-project.github.io/docs/installation/'>swc</a> is a fast, transpiler created in Rust which supports many of Babel's features including TypeScript.</p>
102+
<p><a href='https://swc-project.github.io/docs/installation/'>swc</a> is a fast transpiler created in Rust which supports many of Babel's features including TypeScript.</p>
103103
</div>
104104

105105
<div style={{ padding: "1rem", flex: 1, minWidth: "240px" }}>

0 commit comments

Comments
 (0)