forked from MapComplete/MapComplete
Chore: cleanup of imports and unused arguments
This commit is contained in:
parent
cc741d8ac1
commit
def7523334
4 changed files with 24 additions and 30 deletions
|
@ -172,7 +172,8 @@ export abstract class EditJsonState<T> {
|
|||
}
|
||||
}
|
||||
|
||||
public getSchema(path: string[]): ConfigMeta[] {
|
||||
public getSchema(path: (string | number)[]): ConfigMeta[] {
|
||||
path = path.filter(p => typeof p === "string")
|
||||
const schemas = this.schema.filter(
|
||||
(sch) =>
|
||||
sch !== undefined &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue