bio-dts 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,6 +28,7 @@ Generates clean type definitions from ES5 code bases:
28
28
  * Converts JSDoc to [TSDoc](https://github.com/microsoft/tsdoc)
29
29
  * Only exposed documented parameters
30
30
  * Validates, where needed declared parameters
31
+ * Supports [declaration maps](https://www.typescriptlang.org/tsconfig/#declarationMap)
31
32
 
32
33
  Checkout the [test fixtures](./test/fixtures) for full coverage.
33
34
 
@@ -82,6 +82,7 @@ function clazzDefinition(cls, ctor) {
82
82
  static: false,
83
83
  key: m.identifier,
84
84
  kind: 'method',
85
+ async: m.member.async || false,
85
86
  params: m.member.params,
86
87
  body: m.member.body,
87
88
  comments: m.comments || null,
@@ -107,6 +108,7 @@ function clazzDefinition(cls, ctor) {
107
108
  static: true,
108
109
  key: m.identifier,
109
110
  kind: 'method',
111
+ async: m.member.async || false,
110
112
  params: m.member.params,
111
113
  body: m.member.body,
112
114
  comments: m.comments || null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bio-dts",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Generate sane and clean types from JavaScript sources",
5
5
  "type": "module",
6
6
  "bin": "./bin/cmd.js",