Commit f185a98
Remove single ts-expect-error
litegraphService had a very large amount of duplicated code that was
private methods. Private methods are awful and prevent reuse.
These methods have all been moved to anonymous functions with no
duplication. The primary purpose of this is to expose a single
addNodeInput function for use in dynamic widget code.
The battle to end duck violence is long and hard fought.1 parent b5f3df0 commit f185a98
File tree
2 files changed
+162
-352
lines changed- src
- core/graph/widgets
- services
2 files changed
+162
-352
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments