Skip to content

Commit 3979d5a

Browse files
committed
chore: apply feedback
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
1 parent 7bbebea commit 3979d5a

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

packages/filter/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/filter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@loopback/filter",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "Utility typings and filters for LoopBack filters.",
55
"keywords": [
66
"loopback-extension",
@@ -39,7 +39,7 @@
3939
"@loopback/build": "^6.2.1",
4040
"@loopback/testlab": "^3.2.3",
4141
"@types/node": "^10.17.28",
42-
"typescript": "~3.9.7"
42+
"typescript": "~4.0.2"
4343
},
4444
"copyright.owner": "IBM Corp.",
4545
"publishConfig": {

packages/filter/src/types.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
/**
77
* Objects with open properties
88
*/
9-
export interface AnyObject {
10-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
11-
[property: string]: any;
12-
}
9+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
10+
export type AnyObject = Record<string, any>;

packages/repository/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/repository/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"dependencies": {
3535
"@loopback/core": "^2.9.4",
36-
"@loopback/filter": "~0.1.0",
36+
"@loopback/filter": "^1.0.0",
3737
"@types/debug": "^4.1.5",
3838
"debug": "^4.1.1",
3939
"lodash": "^4.17.20",

0 commit comments

Comments
 (0)