@wordpress/docgen 1.21.0 → 1.22.0

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.
@@ -110,12 +110,10 @@ function getTypeLiteralPropertyTypeAnnotations( typeAnnotation ) {
110
110
  * @param {babelTypes.TSTypeLiteral} typeAnnotation
111
111
  */
112
112
  function getTypeLiteralTypeAnnotation( typeAnnotation ) {
113
- const callProperties = getTypeLiteralCallSignatureDeclarationTypeAnnotations(
114
- typeAnnotation
115
- );
116
- const indexers = getTypeLiteralIndexSignatureTypeAnnotations(
117
- typeAnnotation
118
- );
113
+ const callProperties =
114
+ getTypeLiteralCallSignatureDeclarationTypeAnnotations( typeAnnotation );
115
+ const indexers =
116
+ getTypeLiteralIndexSignatureTypeAnnotations( typeAnnotation );
119
117
  const properties = getTypeLiteralPropertyTypeAnnotations( typeAnnotation );
120
118
 
121
119
  return `{ ${ callProperties }${ properties }${ indexers }}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/docgen",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "Autogenerate public API documentation from exports and JSDoc comments.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "1ba52312b56db563df2d8d4fba5b00613fb46d8c"
42
+ "gitHead": "48d5f37dfb52d2e77c8eeb662f9874cf141b8c6b"
43
43
  }