瀏覽代碼

Fixes wrong type

main
Eric Amodio 3 年之前
父節點
當前提交
925d0bdc8c
共有 1 個檔案被更改,包括 2 行新增3 行删除
  1. +2
    -3
      src/views/nodes/viewNode.ts

+ 2
- 3
src/views/nodes/viewNode.ts 查看文件

@ -125,9 +125,8 @@ export abstract class ViewNode {
refresh?(reset?: boolean): boolean | void | Promise<void> | Promise<boolean>;
@gate<RepositoryFolderNode['triggerChange']>(
(reset: boolean = false, force: boolean = false, avoidSelf?: ViewNode) =>
JSON.stringify([reset, force, avoidSelf?.toString()]),
@gate<ViewNode['triggerChange']>((reset: boolean = false, force: boolean = false, avoidSelf?: ViewNode) =>
JSON.stringify([reset, force, avoidSelf?.toString()]),
)
@debug()
triggerChange(reset: boolean = false, force: boolean = false, avoidSelf?: ViewNode): Promise<void> {

Loading…
取消
儲存