Support Typescript 4.1, dependency upgrade.
This commit is contained in:
@@ -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> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user