commit | 3c13a76a6943e10656bfec0a9bc857a69c02d6d7 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sat Nov 09 23:03:32 2024 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sun Nov 10 18:13:18 2024 +0100 |
tree | 6609f5e9b505fac5f16e56599f0faf81891c38f1 | |
parent | 4e847f4d8e16ede00353f248c518ae47d5f3b504 [diff] |
refactor(flatten-threads): migrate to the new DI architecture Bug: twpowertools:176 Change-Id: I7a24fb504ce53697112f11128d2d5249a5a7c7e7
diff --git a/src/presentation/nodeWatcher/NodeWatcherHandler.ts b/src/presentation/nodeWatcher/NodeWatcherHandler.ts index b6c3a25..67801f4 100644 --- a/src/presentation/nodeWatcher/NodeWatcherHandler.ts +++ b/src/presentation/nodeWatcher/NodeWatcherHandler.ts
@@ -13,11 +13,11 @@ RemovedNode, } -export interface NodeMutation { +export interface NodeMutation<T extends Node = Node> { /** * Node being mutated. */ - node: Node; + node: T; /** * Which mutation has occurred to the node. */