Skip to content

Commit

Permalink
Fix TypeScript declarations for 18.1 (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyMartynov authored Jul 17, 2019
1 parent a75be3c commit 9b5bdc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ test_script:
- npm run eslint

- npm i --no-save "devextreme@~18.1.0"
- npm run dts
- npm run karma

- npm i --no-save "devextreme@>=18.2.0"
- npm run dts
- npm run karma
- npm run karma-bundled
- npm run karma-bundled-nojquery
Expand Down
3 changes: 1 addition & 2 deletions js/dx.aspnet.data.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import CustomStore from "devextreme/data/custom_store";
import { LoadOptions } from "devextreme/data/load_options";

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

onLoading?: (loadOptions: LoadOptions) => void;
onLoading?: (loadOptions: any) => void;
onLoaded?: (result: Array<any>) => void;

onInserting?: (values: any) => void;
Expand Down

0 comments on commit 9b5bdc8

Please sign in to comment.