rollup-plugin-dts
Advanced tools
Comparing version 0.9.0 to 0.10.0
// FILE GENERATED BY `rollup-plugin-dts@0.9.0` | ||
// FILE GENERATED BY `rollup-plugin-dts@0.10.0` | ||
// https://github.com/Swatinem/rollup-plugin-dts | ||
@@ -4,0 +4,0 @@ |
@@ -157,2 +157,3 @@ 'use strict'; | ||
ts.SyntaxKind.ThisKeyword, | ||
ts.SyntaxKind.ThisType, | ||
]); | ||
@@ -231,2 +232,5 @@ class DeclarationScope { | ||
this.pushReference(convertExpression(type.expression)); | ||
for (const arg of type.typeArguments || []) { | ||
this.convertTypeNode(arg); | ||
} | ||
} | ||
@@ -514,4 +518,7 @@ } | ||
const source = convertExpression(node.moduleSpecifier); | ||
if (!node.importClause) { | ||
return; | ||
} | ||
// istanbul ignore if | ||
if (!node.importClause || (!node.importClause.name && !node.importClause.namedBindings)) { | ||
if (!node.importClause.name && !node.importClause.namedBindings) { | ||
console.log({ code: node.getFullText() }); | ||
@@ -695,3 +702,3 @@ throw new Error(`ImportDeclaration should have imports`); | ||
const version = "0.9.0"; | ||
const version = "0.10.0"; | ||
@@ -698,0 +705,0 @@ const TSLIB_ID = "\0tslib"; |
{ | ||
"name": "rollup-plugin-dts", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "An experiment to generate .d.ts rollup files", | ||
@@ -70,3 +70,3 @@ "keywords": [ | ||
"tslib": "^1.9.3", | ||
"typescript": "3.2.4" | ||
"typescript": "3.3.1" | ||
}, | ||
@@ -73,0 +73,0 @@ "peerDependencies": { |
@@ -83,5 +83,1 @@ # rollup-plugin-dts | ||
## [How does it work](./docs/how-it-works.md) | ||
# TODO | ||
- [ ] Make shadowing with type parameters work correctly |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57173
1510
0
83