tidy indentation in type definitions

This commit is contained in:
Conduitry 2019-01-06 16:55:27 -05:00
parent a83bfc9bba
commit 7d40256a4f
1 changed files with 12 additions and 12 deletions

24
types/index.d.ts vendored
View File

@ -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;
}