diff options
| -rw-r--r-- | src/editor.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index 9bb62a9..2893f94 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
| @@ -151,7 +151,7 @@ const getStateFromHash = hash => { | |||
| 151 | /** | 151 | /** |
| 152 | * get editor content from hash string | 152 | * get editor content from hash string |
| 153 | * | 153 | * |
| 154 | * @param {} hash | 154 | * @param {String} hash |
| 155 | */ | 155 | */ |
| 156 | const getContentFromHash = hash => { | 156 | const getContentFromHash = hash => { |
| 157 | const state = getStateFromHash(hash) | 157 | const state = getStateFromHash(hash) |
| @@ -423,7 +423,7 @@ fetch(defaultApply) | |||
| 423 | /** | 423 | /** |
| 424 | * insideCodeblockForMap. Check if current token is inside code block {{{ | 424 | * insideCodeblockForMap. Check if current token is inside code block {{{ |
| 425 | * | 425 | * |
| 426 | * @param {} anchor | 426 | * @param {Anchor} anchor |
| 427 | */ | 427 | */ |
| 428 | const insideCodeblockForMap = anchor => { | 428 | const insideCodeblockForMap = anchor => { |
| 429 | const token = cm.getTokenAt(anchor) | 429 | const token = cm.getTokenAt(anchor) |