Comparing version 3.2.0 to 3.3.0
@@ -32,2 +32,3 @@ export interface DeclarationBase { | ||
baseType?: ObjectTypeReference | TypeParameter; | ||
defaultType?: Type; | ||
} | ||
@@ -34,0 +35,0 @@ export interface IndexSignature extends DeclarationBase { |
@@ -50,3 +50,3 @@ "use strict"; | ||
kind: 'type-parameter', | ||
name: name, baseType: baseType | ||
name: name, baseType: baseType, defaultType: undefined | ||
}; | ||
@@ -630,2 +630,6 @@ }, | ||
} | ||
if (p.defaultType) { | ||
print(' = '); | ||
writeReference(p.defaultType); | ||
} | ||
first = false; | ||
@@ -632,0 +636,0 @@ } |
@@ -37,2 +37,3 @@ export interface DeclarationBase { | ||
baseType?: ObjectTypeReference|TypeParameter; | ||
defaultType?: Type; | ||
} | ||
@@ -302,3 +303,3 @@ | ||
kind: 'type-parameter', | ||
name, baseType | ||
name, baseType, defaultType: undefined | ||
}; | ||
@@ -934,2 +935,7 @@ }, | ||
if (p.defaultType) { | ||
print(' = '); | ||
writeReference(p.defaultType); | ||
} | ||
first = false; | ||
@@ -936,0 +942,0 @@ } |
{ | ||
"name": "dts-dom", | ||
"version": "3.2.0", | ||
"version": "3.3.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.3.0 | ||
* **New Functionality**: [Generic defaults](https://github.com/RyanCavanaugh/dts-dom/pull/49) | ||
## 3.2.0 | ||
@@ -131,2 +134,3 @@ * **New Functionality**: [Single-line JSDoc Comment option](https://github.com/RyanCavanaugh/dts-dom/pull/49) | ||
* [wulunyi](https://www.github.com/wulunyi) | ||
* [Harry Park](https://github.com/harryparkdotio) | ||
Sorry, the diff of this file is not supported yet
137171
27
2648
135