Improve typing, regen scheme files

This commit is contained in:
Pieter Vander Vennet 2022-07-18 10:15:51 +02:00
parent a1c4cdd544
commit 8ff405497c
9 changed files with 22772 additions and 318 deletions

View file

@ -287,9 +287,9 @@ export interface LayerConfigJson {
*/
tagRenderings?:
(string
| { builtin: string | string[], override: any }
| { builtin: string | string[], override: Partial<QuestionableTagRenderingConfigJson> }
| QuestionableTagRenderingConfigJson
| RewritableConfigJson<(string | { builtin: string, override: any } | QuestionableTagRenderingConfigJson)[]>
| RewritableConfigJson<(string | { builtin: string, override: Partial<QuestionableTagRenderingConfigJson> } | QuestionableTagRenderingConfigJson)[]>
) [],

View file

@ -150,7 +150,7 @@ export interface LayoutConfigJson {
*
* In the above scenario, `sometagrendering` will be added at the beginning of the tagrenderings of every layer
*/
overrideAll?: any;
overrideAll?: Partial<LayerConfigJson>;
/**
* The id of the default background. BY default: vanilla OSM