forked from MapComplete/MapComplete
Refactoring: fix import buttons (WIP)
This commit is contained in:
parent
52b54d8b08
commit
8f942f0163
28 changed files with 970 additions and 779 deletions
4
Utils.ts
4
Utils.ts
|
@ -153,8 +153,8 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
public static ParseVisArgs(
|
||||
specs: { name: string; defaultValue?: string }[],
|
||||
args: string[]
|
||||
): any {
|
||||
const parsed = {}
|
||||
): Record<string, string> {
|
||||
const parsed: Record<string, string> = {}
|
||||
if (args.length > specs.length) {
|
||||
throw (
|
||||
"To much arguments for special visualization: got " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue