Skip to content

Commit

Permalink
feat: export validation and fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorikairox committed Oct 1, 2024
1 parent 84a09dd commit 9aef7bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "@danet/core",
"version": "2.4.1",
"version": "2.4.2",
"exports": {
".": "./mod.ts",
"./metadata": "./src/metadata/mod.ts"
"./metadata": "./src/metadata/mod.ts",
"./validation": "./validation.ts"
},
"lint": {
"include": [
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class MetadataHelper {
value: unknown,
target: unknown,
property?: string | symbol,
) {
): void {
if (property) {
return Reflect.defineMetadata(key, value, target, property);
}
Expand Down

0 comments on commit 9aef7bd

Please sign in to comment.