diff --git a/package-lock.json b/package-lock.json index 485c821..083ddb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "roamjs-components", - "version": "0.86.4", + "version": "0.86.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "roamjs-components", - "version": "0.86.4", + "version": "0.86.5", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index af07c8b..9c6050d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "roamjs-components", "description": "Expansive toolset, utilities, & components for developing RoamJS extensions.", - "version": "0.86.4", + "version": "0.86.5", "main": "index.js", "types": "index.d.ts", "scripts": { diff --git a/src/types/index.ts b/src/types/index.ts index 4fbd28b..873f57e 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -98,7 +98,7 @@ declare global { dateToPageTitle: (date: Date) => string; dateToPageUid: (date: Date) => string; pageTitleToDate: (title: string) => Date | null; - uploadFile: (args: { file: File }) => string; + uploadFile: (args: { file: File }) => Promise; }; data: { addPullWatch: AddPullWatch;