Support Typescript 4.1, dependency upgrade.

This commit is contained in:
Daniel Scalzi
2020-11-28 15:23:42 -05:00
parent 0d46a529fc
commit 9ead2ca219
4 changed files with 75 additions and 75 deletions

View File

@@ -14,6 +14,6 @@ export abstract class BaseModelStructure<T> extends BaseFileStructure implements
super(absoluteRoot, relativeRoot, structRoot)
}
public abstract async getSpecModel(): Promise<T[]>
public abstract getSpecModel(): Promise<T[]>
}

View File

@@ -86,10 +86,10 @@ export abstract class ModuleStructure extends BaseModelStructure<Module> {
return null
}
protected async abstract getModuleId(name: string, path: string): Promise<string>
protected async abstract getModuleName(name: string, path: string): Promise<string>
protected async abstract getModuleUrl(name: string, path: string, stats: Stats): Promise<string>
protected async abstract getModulePath(name: string, path: string, stats: Stats): Promise<string | null>
protected abstract getModuleId(name: string, path: string): Promise<string>
protected abstract getModuleName(name: string, path: string): Promise<string>
protected abstract getModuleUrl(name: string, path: string, stats: Stats): Promise<string>
protected abstract getModulePath(name: string, path: string, stats: Stats): Promise<string | null>
protected async parseModule(file: string, filePath: string, stats: Stats): Promise<Module> {