11 lines
386 B
TypeScript
11 lines
386 B
TypeScript
import { TreeModel, IBasicFileSystemHost } from 'react-aspen'
|
|
import { DecorationsManager } from 'aspen-decorations'
|
|
|
|
export class TreeModelX extends TreeModel {
|
|
public readonly decorations: DecorationsManager
|
|
constructor(host: IBasicFileSystemHost, mountPath: string) {
|
|
super(host, mountPath)
|
|
this.decorations = new DecorationsManager(this.root as any)
|
|
}
|
|
}
|