tidy indentation in type definitions
This commit is contained in:
parent
a83bfc9bba
commit
7d40256a4f
|
@ -1,15 +1,15 @@
|
|||
import * as fs from 'fs';
|
||||
|
||||
export class Defiler {
|
||||
paths: Set<string>;
|
||||
files: Map<string, File>;
|
||||
constructor(...args: any[]);
|
||||
exec(): Promise<void>;
|
||||
get(path: string): Promise<File>;
|
||||
get(paths: string[]): Promise<File[]>;
|
||||
get(filter: Filter): Promise<File[]>;
|
||||
add(file: FileData): void;
|
||||
resolve(path: string): string;
|
||||
paths: Set<string>;
|
||||
files: Map<string, File>;
|
||||
constructor(...args: any[]);
|
||||
exec(): Promise<void>;
|
||||
get(path: string): Promise<File>;
|
||||
get(paths: string[]): Promise<File[]>;
|
||||
get(filter: Filter): Promise<File[]>;
|
||||
add(file: FileData): void;
|
||||
resolve(path: string): string;
|
||||
}
|
||||
|
||||
export class File {
|
||||
|
@ -24,10 +24,10 @@ export class File {
|
|||
}
|
||||
|
||||
interface Filter {
|
||||
(path: string): boolean;
|
||||
(path: string): boolean;
|
||||
}
|
||||
|
||||
interface FileData {
|
||||
path: string;
|
||||
[propName: string]: any;
|
||||
path: string;
|
||||
[propName: string]: any;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue