Browse Source

update inject 描述

es6
zsmj1994 4 years ago
parent
commit
943c106992
  1. 8
      typescript/core/inject.ts

8
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;
}

Loading…
Cancel
Save