We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770c45c commit 0376fa5Copy full SHA for 0376fa5
packages/node_modules/proxy-state-tree/src/Proxyfier.ts
@@ -93,7 +93,9 @@ export class Proxifier {
93
shouldTrackMutations(path) {
94
return (
95
this.tree.master.options.devmode ||
96
- (path && this.tree.master.pathDependencies[path])
+ // We need the !! to avoid weird types for shouldTrackMutations that
97
+ // actually break (because they contain references to 'src')
98
+ !!(path && this.tree.master.pathDependencies[path])
99
)
100
}
101
0 commit comments