chore(repo): rename ionic related interfaces

This commit is contained in:
Daniel Sogl
2021-09-27 17:20:56 +02:00
parent c81fbd7bbf
commit e588d96214
217 changed files with 476 additions and 440 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ function transformImports(file: ts.SourceFile, ctx: ts.TransformationContext, ng
const methodNames = methodElements.map(el => el.escapedText);
importStatement.importClause.namedBindings.elements = [
ts.createIdentifier('IonicNativePlugin'),
ts.createIdentifier('AwesomeCordovaNativePlugin'),
...methodElements,
...importStatement.importClause.namedBindings.elements.filter(
el => keep.indexOf(el.name.text) !== -1 && methodNames.indexOf(el.name.text) === -1