(node)
| 121 | } |
| 122 | |
| 123 | function hasNativeClassDecorator(node) { |
| 124 | const decorators = ts.getDecorators?.(node) ?? node.decorators; |
| 125 | return !!decorators && decorators.some((decorator) => getIdentifierText(decorator) === 'NativeClass'); |
| 126 | } |
| 127 | |
| 128 | function emitDownleveledClass(node) { |
| 129 | // Preserve leading trivia (including possible preceding import statements separated earlier by bundler) only remove the decorator itself. |
no test coverage detected