在Java中,可以通过声明具有另一种注释类型的注释参数来编写注释。copyright = @Copyright("2013"), trademark = @Trademark("x is a trademark of x inc"))C#语言规范似乎表明不可能做类似的事情,因为它声明有效的属性参数类型如下:
以下类型之一:布尔、字节、字符、双、浮点数、int、长、字节、短、字符串、uint、ulong、ushort。System
当我正在开发本地主机时,打字本的构建工作很好。但是,当使用停靠器和节点映像时,当我想要构建时,它会生成以下奇怪的错误:Property 'user' must be of type 'UserModel', but here has type 'UserModel'.// auth.ts
import