Skip to content

Commit 9b5bdc8

Browse files
Fix TypeScript declarations for 18.1 (#368)
1 parent a75be3c commit 9b5bdc8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ test_script:
2323
- npm run eslint
2424

2525
- npm i --no-save "devextreme@~18.1.0"
26+
- npm run dts
2627
- npm run karma
2728

2829
- npm i --no-save "devextreme@>=18.2.0"
30+
- npm run dts
2931
- npm run karma
3032
- npm run karma-bundled
3133
- npm run karma-bundled-nojquery

js/dx.aspnet.data.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import CustomStore from "devextreme/data/custom_store";
2-
import { LoadOptions } from "devextreme/data/load_options";
32

43
interface Options {
54
key?: string|Array<string>,
@@ -24,7 +23,7 @@ interface Options {
2423
onBeforeSend?: (operation: string, ajaxSettings: JQueryAjaxSettings) => void,
2524
onAjaxError?: (e: { xhr: JQueryXHR, error: string | Error }) => void
2625

27-
onLoading?: (loadOptions: LoadOptions) => void;
26+
onLoading?: (loadOptions: any) => void;
2827
onLoaded?: (result: Array<any>) => void;
2928

3029
onInserting?: (values: any) => void;

0 commit comments

Comments
 (0)