Skip to content

Commit

Permalink
docs: Grammar fixes (#38900)
Browse files Browse the repository at this point in the history
Changed several period into colons to be consistent throughout the doc.

Changed "If don't add the interface..." to "If _you_ don't add the interface..."

PR Close #38900
  • Loading branch information
andrewrindf authored and mhevery committed Sep 18, 2020
1 parent b68fab5 commit d5ddb9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aio/content/guide/using-libraries.md
Expand Up @@ -32,7 +32,7 @@ To do this:

1. Create a `typings.d.ts` file in your `src/` folder. This file is automatically included as global type definition.

2. Add the following code in `src/typings.d.ts`.
2. Add the following code in `src/typings.d.ts`:

```
declare module 'host' {
Expand All @@ -45,7 +45,7 @@ declare module 'host' {
}
```

3. In the component or file that uses the library, add the following code.
3. In the component or file that uses the library, add the following code:

```
import * as host from 'host';
Expand Down Expand Up @@ -129,7 +129,7 @@ interface JQuery {
}
```

If don't add the interface for the script-defined extension, your IDE shows an error:
If you don't add the interface for the script-defined extension, your IDE shows an error:

```
[TS][Error] Property 'myPlugin' does not exist on type 'JQuery'
Expand Down

0 comments on commit d5ddb9f

Please sign in to comment.