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

@ -1,11 +1,11 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import type { Logger } from '../../../utils/logger'
import Optional from 'optional-js'
import { Optional } from '@mrdrogdrog/optional'
/**
* Error that will be thrown if a message couldn't be sent.