Skip to content

Commit 0d95f53

Browse files
committed
#34 Include link to @types/dom-navigation
1 parent 1fde202 commit 0d95f53

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ await window.navigation.navigate("/").finished;
198198
await navigation.navigate("/").finished;
199199
```
200200

201-
#### Polyfill Global Window Types
201+
<details><summary>Polyfill Global Window Types</summary>
202202

203203
See [`@types/dom-navigation`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/dom-navigation/package.json) for a standardised type definition for the Navigation API
204204
which can be utilised alongside this polyfill.
@@ -217,4 +217,6 @@ This should then be included as a type in your `tsconfig.json`:
217217
]
218218
}
219219
}
220-
```
220+
```
221+
222+
</details>

0 commit comments

Comments
 (0)