From 943c10699263bfe3089f1158ef583b897721ee6c Mon Sep 17 00:00:00 2001 From: zsmj1994 Date: Fri, 24 Jul 2020 16:58:10 +0800 Subject: [PATCH] =?UTF-8?q?update=20inject=20=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/inject.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/typescript/core/inject.ts b/typescript/core/inject.ts index 29d77b328..3852fe442 100644 --- a/typescript/core/inject.ts +++ b/typescript/core/inject.ts @@ -15,19 +15,19 @@ interface _constants { } interface _models { - getModel: (type: string, options: any) => any; + getModel: (type: string, options?: any) => any; } interface _stores { - getStore: (type: string, options: any) => any; + getStore: (type: string, options?: any) => any; } interface _providers { - getProvider: (type: string, options: any) => any; + getProvider: (type: string, options?: any) => any; } interface _services { - getService: (type: string, options: any) => any; + getService: (type: string, options?: any) => any; }