mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
17 lines
277 B
TypeScript
17 lines
277 B
TypeScript
export interface ICache <DataType>
|
|
{
|
|
exists(name: string): boolean;
|
|
|
|
path(name: string): string;
|
|
|
|
match(names: string[]): boolean;
|
|
|
|
read(name: string): DataType | null | undefined;
|
|
|
|
write(name: string, data: DataType): void;
|
|
|
|
touch(name: string): void;
|
|
|
|
roll(): void;
|
|
}
|