Refactoring: fix import buttons (WIP)

This commit is contained in:
Pieter Vander Vennet 2023-05-30 02:52:22 +02:00
parent 52b54d8b08
commit 8f942f0163
28 changed files with 970 additions and 779 deletions

View file

@ -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 " +