import * as ko from "knockout"; import { PageBase } from "./ui/pagebase"; export class TablesFilterPage extends PageBase { public oldpassword: KnockoutObservable; public password: KnockoutObservable; public confirmpassword: KnockoutObservable; public errors: KnockoutValidationErrors; public isValid: () => boolean; constructor() { super(); this.oldpassword = ko.observable().extend({ required: true }); this.password = ko.observable().extend({ required: true }); this.confirmpassword = ko.observable().extend({ required: true }); this.errors = ko.validation.group(this); } }