Skip to content

Commit 14f6589

Browse files
Store: Hide extraOptions in byKey's TypeScript definition (T1169878) (#594)
1 parent e711a20 commit 14f6589

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

js/dx.aspnet.data.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import CustomStore from "devextreme/data/custom_store";
1+
import DxCustomStore from "devextreme/data/custom_store";
22

33
interface Options {
44
key?: string|Array<string>,
@@ -41,4 +41,8 @@ interface Options {
4141
onPush?: (changes: Array<any>) => void;
4242
}
4343

44+
declare class CustomStore extends DxCustomStore {
45+
byKey(key: any | string | number): any;
46+
}
47+
4448
export function createStore(options: Options): CustomStore;

0 commit comments

Comments
 (0)