Skip to content

Commit 18d07af

Browse files
author
Maciej Łyskawiński
committed
fix(hono-decorators): fix decorator typing
1 parent 1322026 commit 18d07af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/hono-decorators/src/http/decorators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {httpConfigStore, type HttpPath} from "./http.config-store";
22
import type {Type} from "../types";
33

44
export function Route(method: HttpPath['method'], path: string){
5-
return (target: object, property: string, descriptor: TypedPropertyDescriptor<any>) => {
5+
return (target: object, property: string) => {
66
httpConfigStore.paths.add( {
77
path,
88
method,

0 commit comments

Comments
 (0)