From 95fe2bb42e6b9a5f0949180901c2692c24dbdf5a Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Mon, 30 Aug 2021 03:47:29 +0000 Subject: [PATCH] chore(utils): use types package (#823) --- packages/redux-devtools-utils/package.json | 1 + packages/redux-devtools-utils/src/get-params.ts | 4 ---- yarn.lock | 8 ++++++++ 3 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 packages/redux-devtools-utils/src/get-params.ts diff --git a/packages/redux-devtools-utils/package.json b/packages/redux-devtools-utils/package.json index b613a458..93df3ad8 100644 --- a/packages/redux-devtools-utils/package.json +++ b/packages/redux-devtools-utils/package.json @@ -34,6 +34,7 @@ "dependencies": { "@redux-devtools/core": "^3.9.0", "@redux-devtools/serialize": "^0.3.0", + "@types/get-params": "^0.1.0", "get-params": "^0.1.2", "immutable": "^4.0.0-rc.14", "jsan": "^3.1.13", diff --git a/packages/redux-devtools-utils/src/get-params.ts b/packages/redux-devtools-utils/src/get-params.ts deleted file mode 100644 index 417ec500..00000000 --- a/packages/redux-devtools-utils/src/get-params.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare module 'get-params' { - function getParams(func: (...args: any[]) => unknown): string[]; - export default getParams; -} diff --git a/yarn.lock b/yarn.lock index 6a6365db..f14cbc3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5254,6 +5254,7 @@ __metadata: dependencies: "@redux-devtools/core": ^3.9.0 "@redux-devtools/serialize": ^0.3.0 + "@types/get-params": ^0.1.0 get-params: ^0.1.2 immutable: ^4.0.0-rc.14 jsan: ^3.1.13 @@ -6894,6 +6895,13 @@ __metadata: languageName: node linkType: hard +"@types/get-params@npm:^0.1.0": + version: 0.1.0 + resolution: "@types/get-params@npm:0.1.0" + checksum: be378a08606c975c05faa1a64e73bfec3e98a924bda282109e4a6fe222cffab087ee47277aadf3dbe77e999b4bb5153553e073f008d6b9518862dc924c85ccff + languageName: node + linkType: hard + "@types/glob-base@npm:^0.3.0": version: 0.3.0 resolution: "@types/glob-base@npm:0.3.0"