Commit e03419c2 authored by nanahira's avatar nanahira

fix

parent 8baee225
...@@ -277,9 +277,8 @@ export function WireContextService( ...@@ -277,9 +277,8 @@ export function WireContextService(
export function ProvideContextService( export function ProvideContextService(
name: keyof Context.Services, name: keyof Context.Services,
options?: Context.Options,
): ClassDecorator { ): ClassDecorator {
Context.service(name, options); Context.service(name);
return AppendMetadata(KoishiServiceProvideSym, name); return AppendMetadata(KoishiServiceProvideSym, name);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment