1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import { observable } from "mobx"; import { NodeStore } from "./NodeStore"; export class VideoNodeStore extends NodeStore { constructor(initializer: Partial<VideoNodeStore>) { super(); Object.assign(this, initializer); } @observable public Title: string = ""; @observable public Url: string = ""; }