Fix typings

This commit is contained in:
Pieter Vander Vennet 2020-10-11 18:22:04 +02:00
parent 1c6546f4c7
commit 7c52ace770
2 changed files with 3 additions and 2 deletions

View file

@ -56,7 +56,7 @@ export class Layout {
startzoom: number,
startLat: number,
startLon: number,
welcomeMessage: Translation | string,
welcomeMessage: UIElement | string,
gettingStartedPlzLogin: UIElement | string = new Combine([
Translations.t.general.getStartedLogin
.SetClass("soft")

View file

@ -43,8 +43,9 @@ export class FilteredLayer {
private _showOnPopup: (tags: UIEventSource<any>, feature: any) => UIElement;
private static readonly grid = codegrid.CodeGrid("./tiles/");
constructor(
layerDef: LayerDefinition,
showOnPopup: ((tags: UIEventSource<any>, feature: any) => UIElement)