sajt/types/parser.d.ts
2025-06-08 21:57:33 +02:00

10 lines
194 B
TypeScript

export interface File {
get html(): string;
get data(): {
[key: string]: any;
};
}
export default interface Parser {
get name(): string;
parse(path: string): File;
}