@svadmin/core 0.23.5 → 0.23.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -30,11 +30,11 @@ function extendQuery<Q extends object, E extends Record<string, unknown>>(
|
|
|
30
30
|
if (typeof prop === 'string' && prop in extensions) {
|
|
31
31
|
return extensions[prop as keyof E];
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return target[prop as keyof Q];
|
|
34
34
|
},
|
|
35
35
|
has(target, prop) {
|
|
36
36
|
if (typeof prop === 'string' && prop in extensions) return true;
|
|
37
|
-
return
|
|
37
|
+
return prop in target;
|
|
38
38
|
},
|
|
39
39
|
}) as Q & E;
|
|
40
40
|
}
|