fix: abstract and fix legacy fs (#4032)

This commit is contained in:
David Luzar 2021-10-07 13:19:40 +02:00 committed by GitHub
parent 75aeaa6c38
commit 54739cd2df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 179 additions and 50 deletions

View file

@ -23,6 +23,7 @@ import { Language } from "./i18n";
import { ClipboardData } from "./clipboard";
import { isOverScrollBars } from "./scene";
import { MaybeTransformHandleType } from "./element/transformHandles";
import { FileSystemHandle } from "./data/filesystem";
export type Point = Readonly<RoughPoint>;
@ -112,7 +113,7 @@ export type AppState = {
offsetLeft: number;
isLibraryOpen: boolean;
fileHandle: import("browser-fs-access").FileSystemHandle | null;
fileHandle: FileSystemHandle | null;
collaborators: Map<string, Collaborator>;
showStats: boolean;
currentChartType: ChartType;