Search
Preparing search index...
The search index is not available
Class Decorator API - v2.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Class Decorator API - v2.0.0
DeclarationMirror
Class DeclarationMirror<T>
Type parameters
T
:
DeclarationMetadata
=
any
Hierarchy
DeclarationMirror
ClassMirror
MethodMirror
PropertyMirror
ParameterMirror
Index
Constructors
constructor
Properties
metadata
target
Methods
get
Metadata
Constructors
constructor
new
Declaration
Mirror
<
T
>
(
)
:
DeclarationMirror
<
T
>
Type parameters
T
:
DeclarationMetadata
<
any
,
T
>
=
any
Returns
DeclarationMirror
<
T
>
Properties
Readonly
metadata
metadata
:
Set
<
T
>
= ...
metadata collection 元数据集合
target
target
:
Object
target Mirror映射的目标
Methods
get
Metadata
get
Metadata
<
M
>
(
type
?:
ClassConstructor
<
M
>
)
:
M
[]
获取元数据集合 不包含父类
Type parameters
M
:
DeclarationMetadata
<
any
,
M
>
=
T
Parameters
Optional
type:
ClassConstructor
<
M
>
类型, 参数继承至
MethodMetadata
。
Returns
M
[]
Exports
Declaration
Mirror
constructor
metadata
target
get
Metadata
metadata collection 元数据集合