@polymer/gen-typescript-declarations
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -10,2 +10,5 @@ # Changelog | ||
## [1.5.1] - 2018-08-25 | ||
* Legacy Polymer function element interfaces are now exported from ES modules. | ||
## [1.5.0] - 2018-08-15 | ||
@@ -12,0 +15,0 @@ * Legacy Polymer function components will no longer have a `_template` |
@@ -403,2 +403,6 @@ "use strict"; | ||
})); | ||
if (isPolymerElement(feature) && feature.isLegacyFactoryCall && | ||
this.root.isEsModule) { | ||
this.root.members.push(new ts.Export({ identifiers: [{ identifier: shortName }] })); | ||
} | ||
} | ||
@@ -405,0 +409,0 @@ // The `HTMLElementTagNameMap` global interface maps custom element tag |
{ | ||
"name": "@polymer/gen-typescript-declarations", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Generate TypeScript type declarations for Polymer components.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations", |
@@ -487,2 +487,8 @@ /** | ||
})); | ||
if (isPolymerElement(feature) && feature.isLegacyFactoryCall && | ||
this.root.isEsModule) { | ||
this.root.members.push( | ||
new ts.Export({identifiers: [{identifier: shortName}]})); | ||
} | ||
} | ||
@@ -489,0 +495,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
272878
5397