return false from isNativeClassExtension (though didn't seem to make a difference)

This commit is contained in:
shirakaba
2023-12-02 17:34:55 +09:00
parent 054f63bd3b
commit 02da807b9f

View File

@ -5,6 +5,8 @@ import ts from 'typescript';
*/
export default function (ctx: ts.TransformationContext) {
function isNativeClassExtension(node: ts.ClassDeclaration) {
return false;
let decorators: Readonly<ts.Decorator[]>;
if ('canHaveDecorators' in ts && ts.canHaveDecorators(node)) {