OpenedFile
A file the person chose, read as text.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { OpenedFile } from "@mapcairn/core";
interface OpenedFile
Properties
name
readonly name: string;
The file's name, for example shapes.geojson. Never a path.
text
readonly text: string;
The whole file, decoded as UTF-8.