@inheritdoc
(node: AnyNode, prop: string)
| 169 | |
| 170 | /** @inheritdoc */ |
| 171 | public override rawValue(node: AnyNode, prop: string): string { |
| 172 | const linariaProp = `linaria${prop[0]?.toUpperCase()}${prop.slice(1)}`; |
| 173 | if (Object.prototype.hasOwnProperty.call(node.raws, linariaProp)) { |
| 174 | return `${node.raws[linariaProp]}`; |
| 175 | } |
| 176 | |
| 177 | return super.rawValue(node, prop); |
| 178 | } |
| 179 | |
| 180 | /** @inheritdoc */ |
| 181 | public override root(node: Root): void { |