(name, additionalModifiers, cls, useSitesToUnqualify)
| 152538 | ts.concatenate(additionalModifiers, ts.getSynthesizedDeepClones(fn.modifiers)), ts.getSynthesizedDeepClone(fn.asteriskToken), name, ts.getSynthesizedDeepClones(fn.typeParameters), ts.getSynthesizedDeepClones(fn.parameters), ts.getSynthesizedDeepClone(fn.type), ts.factory.converters.convertToFunctionBlock(replaceImportUseSites(fn.body, useSitesToUnqualify))); |
| 152539 | } |
| 152540 | function classExpressionToDeclaration(name, additionalModifiers, cls, useSitesToUnqualify) { |
| 152541 | return ts.factory.createClassDeclaration(ts.getSynthesizedDeepClones(cls.decorators), // TODO: GH#19915 Don't think this is even legal. |
| 152542 | ts.concatenate(additionalModifiers, ts.getSynthesizedDeepClones(cls.modifiers)), name, ts.getSynthesizedDeepClones(cls.typeParameters), ts.getSynthesizedDeepClones(cls.heritageClauses), replaceImportUseSites(cls.members, useSitesToUnqualify)); |
| 152543 | } |
| 152544 | function makeSingleImport(localName, propertyName, moduleSpecifier, quotePreference) { |
| 152545 | return propertyName === "default" |
| 152546 | ? ts.makeImport(ts.factory.createIdentifier(localName), /*namedImports*/ undefined, moduleSpecifier, quotePreference) |
no test coverage detected