import {Component, StatelessView, IProps} from '@dezrez/core'; export interface INestedProps extends IProps { description: KnockoutObservable; update: () => void; } @Component({ selector: 'nested', view: require('./nested.html') }) export class Nested extends StatelessView { description: KnockoutObservable; update: Function; constructor(props: INestedProps) { super(props); this.description = props.description; this.update = props.update; } activate() {} }