ai_old/js/lib/file.ts
Star afce45396e add util
move js to root
2024-09-18 18:29:42 +08:00

22 lines
421 B
TypeScript

// just for develop
export default {
read,
write,
dir,
stat
}
function read(filename: string): string {return ''}
function write(filename: string, data: any): void {}
function dir(filename: string): Array<FileInfo> {return null}
function stat(filename: string): FileInfo {return null}
interface FileInfo {
Name: string
FullName: string
IsDir: boolean
Size: number
ModTime: number
}