import * as ko from "knockout"; import template from "./testimonials.html"; import { Component } from "@paperbits/common/ko/decorators"; @Component({ selector: "testimonials", template: template }) export class TestimonialsViewModel { public textContent: ko.Observable; public starsCount: ko.Observable; public allStarsCount: ko.Observable; public author: ko.Observable; public authorTitle: ko.Observable; constructor() { this.textContent = ko.observable(); this.allStarsCount = ko.observable(); this.starsCount = ko.observable(); this.author = ko.observable(); this.authorTitle = ko.observable(); } }