mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Added type declarations
This commit is contained in:
parent
0da286b0a2
commit
6bfcd1e4eb
50 changed files with 1837 additions and 54 deletions
17
types/utils/path.d.ts
vendored
Normal file
17
types/utils/path.d.ts
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
export default class Path {
|
||||
constructor(pathString: string);
|
||||
|
||||
parse(what: string): object;
|
||||
|
||||
isAbsolute(what: string): boolean;
|
||||
|
||||
isDirectory(what: string): boolean;
|
||||
|
||||
resolve(what: string): string;
|
||||
|
||||
relative(what: string): string;
|
||||
|
||||
splitPath(filename: string): string;
|
||||
|
||||
toString(): string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue