diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-05-08 20:21:23 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-05-09 10:43:54 +0300 |
commit | 333af8b1504a4869dd1f776c934cfee16b4ad3a5 (patch) | |
tree | ed43f9dbf24792fe9976bee0bfacb5998fda3643 /plugins | |
parent | 34ea7bbfcbc5a79a5c7b675b8cd2134cdda74cbe (diff) |
tweak QueryParameters type in index.d.ts to better match arbitrary object types (#19191)
* tweak QueryParameters type in index.d.ts to better match arbitrary object types
* make sure github action takes into account changes in CoreVue types
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreVue/types/index.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index 023eec7794..00e627a402 100644 --- a/plugins/CoreVue/types/index.d.ts +++ b/plugins/CoreVue/types/index.d.ts @@ -11,7 +11,7 @@ import { ExtendedKeyboardEvent } from 'mousetrap'; declare global { type QueryParameterValue = string | number | null | undefined | QueryParameterValue[]; - type QueryParameters = {[name: string]: QueryParameterValue | QueryParameters}; + type QueryParameters = Record<string, QueryParameterValue | QueryParameters>; interface WrappedEventListener extends Function { wrapper?: (evt: Event) => void; |