mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-02 06:02:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
25
web/node_modules/fork-ts-checker-webpack-plugin/lib/FilesRegister.d.ts
generated
vendored
Normal file
25
web/node_modules/fork-ts-checker-webpack-plugin/lib/FilesRegister.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
import * as ts from 'typescript';
|
||||
import { LintReport } from './types/eslint';
|
||||
export interface DataShape {
|
||||
source?: ts.SourceFile;
|
||||
linted: boolean;
|
||||
eslints: LintReport[];
|
||||
}
|
||||
export declare class FilesRegister {
|
||||
private dataFactory;
|
||||
private files;
|
||||
constructor(dataFactory: (_data?: DataShape) => DataShape);
|
||||
keys(): string[];
|
||||
add(filePath: string): void;
|
||||
remove(filePath: string): void;
|
||||
has(filePath: string): boolean;
|
||||
get(filePath: string): {
|
||||
mtime?: number | undefined;
|
||||
data: DataShape;
|
||||
};
|
||||
ensure(filePath: string): void;
|
||||
getData(filePath: string): DataShape;
|
||||
mutateData(filePath: string, mutator: (data: DataShape) => void): void;
|
||||
getMtime(filePath: string): number | undefined;
|
||||
setMtime(filePath: string, mtime: number): void;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue