Support Typescript 4.1, dependency upgrade.

This commit is contained in:
Daniel Scalzi committed 2020-11-28 15:23:42 -05:00
1 parent 0d46a529fc
commit 9ead2ca219
4 files changed
+75 -75

No files matched your search

+1 -1
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[]>
}
@@ -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> {