Replace optional.js with @hedgedoc/optional

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-06-23 17:10:41 +02:00
parent 96c0cfa566
commit 3f44283d14
22 changed files with 44 additions and 47 deletions

View file

@ -5,7 +5,7 @@
*/
import type { NoteDetails } from '../types/note-details'
import Optional from 'optional-js'
import { Optional } from '@mrdrogdrog/optional'
import { buildStateFromUpdatedMarkdownContentLines } from '../build-state-from-updated-markdown-content'
const TASK_REGEX = /(\s*(?:[-*+]|\d+[.)]) )\[[ xX]?]( .*)/