Skip to content

Commit

Permalink
fix(typo): typescript.md (#3657)
Browse files Browse the repository at this point in the history
Add a forgotten quotation mark in the import and specify the language in md code block
  • Loading branch information
N0N1m3 authored Jan 26, 2023
1 parent 9d43ced commit 3a04d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const CustomExtension = Extension.create<{}, CustomExtensionStorage>({

When using storage outside of the extension you have to manually set the type.

```
import { CustomExtensionStorage } from './custom-extension
```ts
import { CustomExtensionStorage } from './custom-extension'

const customStorage = editor.storage.customExtension as CustomExtensionStorage
```
Expand Down

0 comments on commit 3a04d9e

Please sign in to comment.