Skip to content

Commit 8a4a072

Browse files
committed
minor syntax fixes
1 parent f7e24a5 commit 8a4a072

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ declare module 'rxjs/Subject' {
11291129
}
11301130
```
11311131
1132-
- When missing declarations for vendor modules you can "patch" a module with `any` type using [Shorthand Ambient Modules](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#shorthand-ambient-modules)
1132+
- When missing type declarations for vendor modules you can "assert" a module type with `any` using [Shorthand Ambient Modules](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#shorthand-ambient-modules)
11331133
11341134
```tsx
11351135
// @src/types/modules.d.ts
@@ -1138,7 +1138,7 @@ declare module 'enzyme';
11381138

11391139
```
11401140
1141-
> More advanced tips for working with vendor modules declarations can be found here [Official TypeScript Docs](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#working-with-other-javascript-libraries)
1141+
> More advanced scenarios for working with vendor module declarations can be found here [Official TypeScript Docs](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#working-with-other-javascript-libraries)
11421142
11431143
---
11441144

docs/markdown/4_extras.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ declare module 'rxjs/Subject' {
153153
}
154154
```
155155
156-
- When missing declarations for vendor modules you can "patch" a module with `any` type using [Shorthand Ambient Modules](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#shorthand-ambient-modules)
156+
- When missing type declarations for vendor modules you can "assert" a module type with `any` using [Shorthand Ambient Modules](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#shorthand-ambient-modules)
157157
158158
::example='../../playground/src/types/modules.d.ts'::
159159
160-
> More advanced tips for working with vendor modules declarations can be found here [Official TypeScript Docs](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#working-with-other-javascript-libraries)
160+
> More advanced scenarios for working with vendor module declarations can be found here [Official TypeScript Docs](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Modules.md#working-with-other-javascript-libraries)

0 commit comments

Comments
 (0)