mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
refactor: Rename browser-nativefs to browser-fs-access (#2862)
This commit is contained in:
parent
4392a4644a
commit
b5e26ba81f
6 changed files with 10 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
import { fileSave } from "browser-nativefs";
|
||||
import { fileSave } from "browser-fs-access";
|
||||
import {
|
||||
copyCanvasToClipboardAsPng,
|
||||
copyTextToSystemClipboard,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { fileOpen, fileSave } from "browser-nativefs";
|
||||
import { fileOpen, fileSave } from "browser-fs-access";
|
||||
import { cleanAppStateForExport } from "../appState";
|
||||
import { MIME_TYPES } from "../constants";
|
||||
import { clearElementsForExport } from "../element";
|
||||
|
|
2
src/global.d.ts
vendored
2
src/global.d.ts
vendored
|
@ -85,6 +85,6 @@ type ForwardRef<T, P = any> = Parameters<
|
|||
// --------------------------------------------------------------------------—
|
||||
|
||||
interface Blob {
|
||||
handle?: import("browser-nativefs").FileSystemHandle;
|
||||
handle?: import("browser-fs-acces").FileSystemHandle;
|
||||
name?: string;
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ export type AppState = {
|
|||
offsetLeft: number;
|
||||
|
||||
isLibraryOpen: boolean;
|
||||
fileHandle: import("browser-nativefs").FileSystemHandle | null;
|
||||
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
||||
collaborators: Map<string, Collaborator>;
|
||||
showStats: boolean;
|
||||
currentChartType: ChartType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue