【发布时间】:2015-05-12 13:38:48
【问题描述】:
在这种情况下它不允许 instanceof - 为什么?
public assign(color: string | ColorProperty | RgbProperty | RgbColor): void {
super.assign(color);
if (color instanceof ColorProperty) {
ps - 我喜欢工会!!!
【问题讨论】:
标签: typescript1.4