mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 02:35:23 -04:00
NoteEntity: Fix ESLint errors
We now use @types/shortid to provide type information Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
71e2f06bbb
commit
f79492fe63
3 changed files with 7 additions and 1 deletions
|
@ -85,7 +85,7 @@ export class Note {
|
|||
newNote.authorColors = [];
|
||||
newNote.userPermissions = [];
|
||||
newNote.groupPermissions = [];
|
||||
newNote.revisions = Promise.resolve([]);
|
||||
newNote.revisions = Promise.resolve([]) as Promise<Revision[]>;
|
||||
newNote.description = null;
|
||||
newNote.title = null;
|
||||
newNote.tags = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue