Skip to content

Commit 09064fd

Browse files
committed
chore: format validation package
1 parent 742b12d commit 09064fd

File tree

5 files changed

+8
-18
lines changed

5 files changed

+8
-18
lines changed

packages/validation/src/types.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import type { Ajv, AnySchema, Format } from 'ajv';
22

3-
type Prettify<T> = {
4-
[K in keyof T]: T[K];
5-
} & {};
6-
73
/**
84
* Options to customize the JSON Schema validation.
95
*

packages/validation/tests/unit/decorator.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe('Decorator: validator', () => {
114114
// Prepare
115115
class TestClassOutbound {
116116
@validator({ outboundSchema })
117-
async process(input: { text: string }): Promise<{ result: number }> {
117+
async process(_input: { text: string }): Promise<{ result: number }> {
118118
return { result: 42 };
119119
}
120120
}

packages/validation/tsconfig.cjs.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@
77
"rootDir": "./src",
88
"tsBuildInfoFile": ".tsbuildinfo/cjs.json"
99
},
10-
"include": [
11-
"./src/**/*"
12-
]
13-
}
10+
"include": ["./src/**/*"]
11+
}

packages/validation/tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@
88
"composite": true,
99
"declaration": true
1010
},
11-
"include": [
12-
"./src/**/*"
13-
]
14-
}
11+
"include": ["./src/**/*"]
12+
}

packages/validation/typedoc.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
2-
"extends": [
3-
"../../typedoc.base.json"
4-
],
2+
"extends": ["../../typedoc.base.json"],
53
"entryPoints": [
64
"./src/types.ts",
75
"./src/validate.ts",
86
"./src/middleware.ts",
97
"./src/decorator.ts",
10-
"./src/errors.ts",
8+
"./src/errors.ts"
119
],
1210
"readme": "README.md"
13-
}
11+
}

0 commit comments

Comments
 (0)