Angular 2 Inject

Inject 裝飾器的作用 在 Angular 2 中,Inject 是參數裝飾器,用來在類的構造函數中描述非 Type 類型的參數對象。 Angular 2 中 Type 類型: // Type類型 - @angular/core/src/type.ts export const Type = Function; export function isType(v: any): v is Typ
相關文章
相關標籤/搜索