import * as ko from "knockout"; import template from "./map.html"; import { Component } from "@paperbits/common/ko/decorators"; import { StyleModel } from "@paperbits/common/styles"; @Component({ selector: "map", template: template }) export class MapViewModel { public readonly runtimeConfig: ko.Observable; public readonly styles: ko.Observable; public readonly hasApiKey: ko.Observable; constructor() { this.runtimeConfig = ko.observable(); this.styles = ko.observable(); this.hasApiKey = ko.observable(false); } }