Skip to content

Commit d4116cf

Browse files
jannyHouJanny
authored andcommitted
fix(authentication): fix the options type in decorator
1 parent 0ec2266 commit d4116cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/authentication/src/decorators/authenticate.decorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface AuthenticationMetadata {
2424
* @param strategyName - The name of the authentication strategy to use.
2525
* @param options - Additional options to configure the authentication.
2626
*/
27-
export function authenticate(strategyName: string, options?: Object) {
27+
export function authenticate(strategyName: string, options?: object) {
2828
return MethodDecoratorFactory.createDecorator<AuthenticationMetadata>(
2929
AUTHENTICATION_METADATA_KEY,
3030
{

0 commit comments

Comments
 (0)