TypeScript-TmLanguage/tests/cases/Issue578.ts

5 строки
143 B
TypeScript

if (targetAttribute) {
if (!(targetAttribute instanceof Attribute)) {
targetAttribute = new Attribute(targetAttribute);
}
}