Commit eca67b43 authored by nanahira's avatar nanahira

fix

parent f3220cd6
...@@ -479,8 +479,9 @@ export class Registrar<Ctx extends Context> { ...@@ -479,8 +479,9 @@ export class Registrar<Ctx extends Context> {
type: 'for', type: 'for',
condition: func, condition: func,
}), }),
Isolate: (...services: string[]) => Isolate: this.decorateTransformer((ctx, ...services: string[]) =>
this.decorateTransformer((ctx, r) => ctx.isolate(r(services))), ctx.isolate(services),
),
UsingService: ( UsingService: (
...services: string[] ...services: string[]
): ClassDecorator & MethodDecorator => { ): ClassDecorator & MethodDecorator => {
......
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