Skip to content

Commit

Permalink
Update deps and format
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed Aug 14, 2023
1 parent 096b2ff commit 04e3bf6
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 192 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"blueimp-md5": "2.19.0",
"cmdmix": "2.1.1",
"dom-storage": "2.1.0",
"eslint": "8.46.0",
"eslint": "8.47.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-n": "16.0.1",
Expand All @@ -69,7 +69,7 @@
"gulp-shell": "0.8.0",
"gulp-uglify": "3.0.2",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"lint-staged": "14.0.0",
"mocha": "10.2.0",
"mocha.parallel": "0.15.6",
"open": "9.1.0",
Expand Down
7 changes: 6 additions & 1 deletion types/alasql.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,24 @@ declare module 'alasql' {
interface userDefinedFunction {
(...x: any[]): any;
}

interface userDefinedFunctionLookUp {
[x: string]: userDefinedFunction;
}

// see https://github.com/alasql/alasql/wiki/User%20Defined%20Functions
interface userAggregator {
(value: any, accumulator: any, stage: number): any;
}

interface userAggregatorLookUp {
[x: string]: userAggregator;
}

interface userFromFunction {
(dataReference: any, options: any, callback: any, index: any, query: any): any;
}

interface userFromFunctionLookUp {
[x: string]: userFromFunction;
}
Expand All @@ -92,6 +95,8 @@ declare module 'alasql' {
yy: {};
setXLSX(xlsxlib: typeof xlsx): void;
}

const alasql: AlaSQL;

export = alasql;
}
Loading

0 comments on commit 04e3bf6

Please sign in to comment.