Comparing version 2.1.0 to 3.0.0
@@ -505,2 +505,3 @@ "use strict"; | ||
print('?'); | ||
writeTypeParameters(member.typeParameters); | ||
print('('); | ||
@@ -507,0 +508,0 @@ var first = true; |
@@ -798,2 +798,3 @@ export interface DeclarationBase { | ||
if (hasFlag(member.flags, DeclarationFlags.Optional)) print('?'); | ||
writeTypeParameters(member.typeParameters); | ||
print('('); | ||
@@ -861,7 +862,7 @@ let first = true; | ||
break; | ||
case "string-literal": | ||
print(JSON.stringify(e.value)); | ||
break; | ||
case "number-literal": | ||
@@ -868,0 +869,0 @@ if (isNaN(e.value)) print("typeof NaN"); |
{ | ||
"name": "dts-dom", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"homepage": "https://github.com/RyanCavanaugh/dts-dom", | ||
@@ -5,0 +5,0 @@ "description": "DOM for TypeScript Declaration Files", |
@@ -46,3 +46,6 @@ [![npm version](https://badge.fury.io/js/dts-dom.svg)](https://badge.fury.io/js/dts-dom) | ||
## 2.1 | ||
## 3.0.0 | ||
* **Breaking change**: generic type parameters on methods were incorrectly not being emitted; see #42 | ||
## 2.1.0 | ||
* **New Functionality**: Added the ability to emit `export default` assignments | ||
@@ -66,3 +69,3 @@ ```ts | ||
## 2.0 | ||
## 2.0.0 | ||
* **New Functionality**: Added the ability to emit [triple-slash directives](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html) #39 | ||
@@ -89,3 +92,3 @@ ```ts | ||
## 1.0 | ||
## 1.0.0 | ||
@@ -92,0 +95,0 @@ The same as 0.1.25 |
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
119
127554
25
2507