(allowedOverridesSet: Set<string>, indent = '')
| 1077 | } |
| 1078 | |
| 1079 | toJS(allowedOverridesSet: Set<string>, indent = ''): string { |
| 1080 | conditionStack.push(this.condition); |
| 1081 | let res = `${indent}if (props.${this.condition}) {\n${super.toJS(allowedOverridesSet, indent + ' ')}\n${indent}}`; |
| 1082 | conditionStack.pop(); |
| 1083 | return res; |
| 1084 | } |
| 1085 | } |
| 1086 | |
| 1087 | /** |