diff --git a/package.json b/package.json index 1d75f36..c428949 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@molgenis/vip-report-api", - "version": "3.4.0", + "version": "3.4.1", "description": "TypeScript Report API for Variant Call Format (VCF) Report Templates", "scripts": { "build": "tsc --build", diff --git a/src/Api.d.ts b/src/Api.d.ts index 0f36b87..82c1e28 100644 --- a/src/Api.d.ts +++ b/src/Api.d.ts @@ -37,8 +37,10 @@ export interface Params { size?: number; } +export type SortPath = (string | number)[]; + export interface SortOrder { - property: string | string[]; + property: string | SortPath; compare?: "asc" | "desc" | CompareFn; }