Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2022-05-08 20:21:23 +0300
committerGitHub <noreply@github.com>2022-05-08 20:21:23 +0300
commit5e516617b59db67cdab711596c22096909ea5ba1 (patch)
treebb83985e3e34f142045f5d8ec2181f07f4a89279
parente080cecdb9c0113e3614570fdd711f5521f6a13f (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.yml2
-rw-r--r--plugins/CoreVue/types/index.d.ts2
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;