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:
David Mehren 2021-02-24 21:10:24 +01:00
parent 2c841ae578
commit a0ffa3be04
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 7 additions and 1 deletions

View file

@ -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 = [];