Comparing version 3.3.0 to 3.4.0
@@ -152,2 +152,3 @@ export interface DeclarationBase { | ||
returnType: Type; | ||
typeParameters: TypeParameter[]; | ||
} | ||
@@ -154,0 +155,0 @@ export interface TypeAliasDeclaration extends DeclarationBase { |
@@ -103,2 +103,3 @@ "use strict"; | ||
kind: "function-type", | ||
typeParameters: [], | ||
parameters: parameters, returnType: returnType | ||
@@ -656,2 +657,3 @@ }; | ||
function writeFunctionType(f) { | ||
writeTypeParameters(f.typeParameters); | ||
print('('); | ||
@@ -658,0 +660,0 @@ writeDelimited(f.parameters, ', ', writeParameter); |
@@ -180,2 +180,3 @@ export interface DeclarationBase { | ||
returnType: Type; | ||
typeParameters: TypeParameter[]; | ||
} | ||
@@ -358,2 +359,3 @@ | ||
kind: "function-type", | ||
typeParameters: [], | ||
parameters, returnType | ||
@@ -963,2 +965,3 @@ }; | ||
function writeFunctionType(f: FunctionType) { | ||
writeTypeParameters(f.typeParameters); | ||
print('('); | ||
@@ -965,0 +968,0 @@ writeDelimited(f.parameters, ', ', writeParameter); |
{ | ||
"name": "dts-dom", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"homepage": "https://github.com/RyanCavanaugh/dts-dom", | ||
@@ -5,0 +5,0 @@ "description": "DOM for TypeScript Declaration Files", |
@@ -46,2 +46,5 @@ [![npm version](https://badge.fury.io/js/dts-dom.svg)](https://badge.fury.io/js/dts-dom) | ||
## 3.4.0 | ||
* **New Functionality**: [Generic function declarations](https://github.com/RyanCavanaugh/dts-dom/pull/52) | ||
## 3.3.0 | ||
@@ -120,2 +123,3 @@ * **New Functionality**: [Generic defaults](https://github.com/RyanCavanaugh/dts-dom/pull/49) | ||
The following people have contributed features and/or bug fixes. Thank you! | ||
* [Karin Agan](https://github.com/agankarin) | ||
* [Sean Barag](https://www.github.com/sjbarag) | ||
@@ -122,0 +126,0 @@ * [wehrstedt](https://www.github.com/wehrstedt) |
Sorry, the diff of this file is not supported yet
137641
2654
139