我使用的是typescript和Angular(2.4.7)
reflect-metadata是指神奇的字符串,在哪里可以找到它们的定义?例如"设计:输入"
function Type(type) { return Reflect.metadata("design:type", type); }
function ParamTypes(...types) { return Reflect.metadata("design:paramtypes", types); }
function ReturnType(type) { return Reflect.metadata("design:returntype", type); }
答案 0 :(得分:1)
来自具有启用master_script.sh: line 14: [: =: unary operator expected
master_script.sh: line 14: [: =: unary operator expected
master_script.sh: line 19: [: !=: unary operator expected
选项