import { Component } from 'san' export default class MyComponent extends Component { static computed = { less (this: MyComponent) { return this.data.get('normal') - 1 }, normal (this: MyComponent) { return this.data.get('num') }, more (this: MyComponent) { return this.data.get('normal') + 1 } } static template = '
{{less}}{{normal}}{{more}}
' }