mirror of
https://github.com/2234839/web-font.git
synced 2025-04-06 05:25:44 +08:00
12 lines
235 B
TypeScript
12 lines
235 B
TypeScript
import { implInterface } from "../interface";
|
|
import { stat, readFile } from "fs/promises";
|
|
implInterface({
|
|
async stat(path) {
|
|
const r = await stat(path);
|
|
return r;
|
|
},
|
|
readFile(path) {
|
|
return readFile(path);
|
|
},
|
|
});
|