We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92d5d1 commit 953a86eCopy full SHA for 953a86e
packages/transform/src/transformers/v15-to-v16.ts
@@ -552,6 +552,7 @@ export class V15ToV16Transformer {
552
// Handle empty Integer objects directly since transform() can't detect their type
553
if (typeof result.ival === 'object' && Object.keys(result.ival).length === 0) {
554
const parentTypes = childContext.parentNodeTypes || [];
555
+
556
if (parentTypes.includes('TypeName') ||
557
(parentTypes.includes('DefineStmt') && !(context as any).defElemName)) {
558
result.ival = this.Integer(result.ival as any, childContext).Integer;
0 commit comments