mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 18:21:53 +03:00
fix: types
This commit is contained in:
parent
c0c042dac0
commit
dc98d4042b
@ -17,6 +17,7 @@ const cleanupWorkspace = (workspace: string) =>
|
||||
|
||||
const requestPermission = async (workspace: string) => {
|
||||
await cleanupWorkspace(workspace);
|
||||
// @ts-ignore
|
||||
const dirHandler = await window.showDirectoryPicker({
|
||||
id: 'AFFiNE_' + workspace,
|
||||
mode: 'readwrite',
|
||||
|
@ -17,6 +17,7 @@ const cleanupWorkspace = (workspace: string) =>
|
||||
|
||||
const requestPermission = async (workspace: string) => {
|
||||
await cleanupWorkspace(workspace);
|
||||
// @ts-ignore
|
||||
const dirHandler = await window.showDirectoryPicker({
|
||||
id: 'AFFiNE_' + workspace,
|
||||
mode: 'readwrite',
|
||||
|
Loading…
Reference in New Issue
Block a user