docs: Grammar fixes (#38900)

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
This commit is contained in:
Andrew 2020-09-18 09:33:23 -06:00 committed by Misko Hevery
parent b68fab547a
commit d5ddb9f340
1 changed files with 3 additions and 3 deletions

View File

@ -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' {
@ -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';
@ -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'