Chore: small cleanups, formatting

This commit is contained in:
Pieter Vander Vennet 2025-01-11 02:39:08 +01:00
parent dce838b130
commit 35cbaa7c33
7 changed files with 24 additions and 43 deletions

View file

@ -1000,4 +1000,11 @@ export class PrepareLayer extends Fuse<LayerConfigJson> {
new PruneFilters()
)
}
convert(json: LayerConfigJson, context: ConversionContext): LayerConfigJson {
if(json === undefined || json === null){
throw "Error: prepareLayer got null"
}
return super.convert(json, context)
}
}