diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-05-08 20:21:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 20:21:23 +0300 |
commit | 5e516617b59db67cdab711596c22096909ea5ba1 (patch) | |
tree | bb83985e3e34f142045f5d8ec2181f07f4a89279 | |
parent | e080cecdb9c0113e3614570fdd711f5521f6a13f (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
-rw-r--r-- | .github/workflows/buildvue.yml | 2 | ||||
-rw-r--r-- | plugins/CoreVue/types/index.d.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/buildvue.yml b/.github/workflows/buildvue.yml index b6826de121..cfd31c958d 100644 --- a/.github/workflows/buildvue.yml +++ b/.github/workflows/buildvue.yml @@ -53,7 +53,7 @@ jobs: run: | git fetch --depth=1 origin ${{ steps.vars.outputs.base }} - VUE_FILES_MODIFIED=$(git diff --name-only ${{ steps.vars.outputs.base }} -- plugins/*/vue/**/* | wc -l) + VUE_FILES_MODIFIED=$(git diff --name-only ${{ steps.vars.outputs.base }} -- plugins/*/vue/**/* plugins/CoreVue/types | wc -l) if [[ $VUE_FILES_MODIFIED == "0" ]] then diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index c834c5caa1..f04403fcf7 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; |