From 5b3fc0a2ff53b53d0ca67396abd51fe9a6af10f1 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Thu, 28 May 2020 21:10:30 -0700 Subject: [PATCH] Remove any --- custom-editor-sample/src/pawDrawEditor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-editor-sample/src/pawDrawEditor.ts b/custom-editor-sample/src/pawDrawEditor.ts index dcd1b52a..37cd1fc4 100644 --- a/custom-editor-sample/src/pawDrawEditor.ts +++ b/custom-editor-sample/src/pawDrawEditor.ts @@ -219,9 +219,9 @@ export class PawDrawEditorProvider implements vscode.CustomEditorProvider { - const document = await PawDrawDocument.create(uri, openContext.backupId, { + const document: PawDrawDocument = await PawDrawDocument.create(uri, openContext.backupId, { getFileData: async () => { - const webviewsForDocument: any = Array.from(this.webviews.get(document.uri)); + const webviewsForDocument = Array.from(this.webviews.get(document.uri)); if (!webviewsForDocument.length) { throw new Error('Could not find webview to save for'); }