This commit is contained in:
Tom Moor
2021-12-03 10:34:32 -06:00
parent 9eb72a3485
commit 7c37724f88
17 changed files with 216 additions and 21 deletions

View File

@@ -32,8 +32,7 @@ export default async function documentCreator({
editorVersion?: string;
source?: "import";
ip: string;
// @ts-expect-error ts-migrate(1064) FIXME: The return type of an async function or method mus... Remove this comment to see the full error message
}): Document {
}): Promise<Document> {
// @ts-expect-error ts-migrate(2339) FIXME: Property 'id' does not exist on type 'Document'.
const templateId = templateDocument ? templateDocument.id : undefined;
const document = await Document.create({