Browse Source

Fixes wrong type

main
Eric Amodio 3 years ago
parent
commit
925d0bdc8c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/views/nodes/viewNode.ts

+ 2
- 3
src/views/nodes/viewNode.ts View File

@ -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…
Cancel
Save