From f7541dda47cbcc699da1e31b5b5b837dfb223ac2 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Fri, 31 Aug 2018 12:23:43 +0800 Subject: [PATCH] =?UTF-8?q?docs(API):=20=E4=BF=AE=E8=AE=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/metadata/directives.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/metadata/directives.ts b/packages/core/src/metadata/directives.ts index 5a88aadaf5..76ba069aec 100644 --- a/packages/core/src/metadata/directives.ts +++ b/packages/core/src/metadata/directives.ts @@ -654,6 +654,8 @@ export interface Component extends Directive { * Defines the set of injectable objects that are visible to its view DOM children. * See [example](#injecting-a-class-with-a-view-provider). * + * 定义一组可注入对象,它们在视图的各个子节点中可用。参见[例子](#injecting-a-class-with-a-view-provider)。 + * */ viewProviders?: Provider[];