@@ -10,15 +10,15 @@ export type NodeJsAPIDocumentationSchema = DocumentRoot & (Module | Text);
1010 * A JavaScript module.
1111 */
1212export type Module = SectionBase & {
13- type : " module" ;
13+ type : ' module' ;
1414 /**
1515 * https://jsdoc.app/tags-see
1616 */
17- " @see" : string ;
17+ ' @see' : string ;
1818 /**
1919 * https://jsdoc.app/tags-module
2020 */
21- " @module" : string ;
21+ ' @module' : string ;
2222 /**
2323 * Classes exported from this module.
2424 */
@@ -39,8 +39,8 @@ export type Module = SectionBase & {
3939 */
4040export type NodeCoreVersion = string ;
4141export type Class = SectionBase & {
42- type : " class" ;
43- " @constructor" ?: MethodSignature [ ] ;
42+ type : ' class' ;
43+ ' @constructor' ?: MethodSignature [ ] ;
4444 methods ?: Method [ ] ;
4545 staticMethods ?: Method [ ] ;
4646 properties ?: Property [ ] ;
@@ -50,19 +50,19 @@ export type Class = SectionBase & {
5050 * A JavaScript function.
5151 */
5252export type Method = SectionBase & {
53- type : " method" ;
53+ type : ' method' ;
5454 signatures : MethodSignature [ ] ;
5555 [ k : string ] : unknown ;
5656} ;
5757/**
5858 * A property on a JavaScript object or class.
5959 */
6060export type Property = SectionBase & {
61- type : " property" ;
61+ type : ' property' ;
6262 /**
6363 * JavaScript type of the property.
6464 */
65- " @type" : string | [ string , ...string [ ] ] ;
65+ ' @type' : string | [ string , ...string [ ] ] ;
6666 /**
6767 * Is this property modifiable by user code?
6868 */
@@ -88,23 +88,23 @@ export interface SectionBase {
8888 /**
8989 * Type of the section
9090 */
91- type : " module" | " class" | " method" | " property" | " text" ;
91+ type : ' module' | ' class' | ' method' | ' property' | ' text' ;
9292 /**
9393 * https://jsdoc.app/tags-name
9494 */
95- " @name" : string ;
95+ ' @name' : string ;
9696 /**
9797 * Description of the section.
9898 */
9999 description ?: string ;
100100 /**
101101 * https://jsdoc.app/tags-example
102102 */
103- " @example" ?: string | string [ ] ;
103+ ' @example' ?: string | string [ ] ;
104104 /**
105105 * https://jsdoc.app/tags-deprecated
106106 */
107- " @deprecated" ?: NodeCoreVersion [ ] ;
107+ ' @deprecated' ?: NodeCoreVersion [ ] ;
108108 stability ?: Stability ;
109109 /**
110110 * The changes this API has underwent.
@@ -113,7 +113,7 @@ export interface SectionBase {
113113 /**
114114 * https://jsdoc.app/tags-since
115115 */
116- " @since" ?: NodeCoreVersion [ ] ;
116+ ' @since' ?: NodeCoreVersion [ ] ;
117117 /**
118118 * todo what does this describe lol
119119 */
@@ -155,22 +155,22 @@ export interface MethodSignature {
155155 /**
156156 * The method signature's return type.
157157 */
158- " @returns" ?: string | [ string , ...string [ ] ] ;
158+ ' @returns' ?: string | [ string , ...string [ ] ] ;
159159 [ k : string ] : unknown ;
160160}
161161export interface MethodParameter {
162162 /**
163163 * Name of the parameter.
164164 */
165- " @name" : string ;
165+ ' @name' : string ;
166166 /**
167167 * Type of the parameter
168168 */
169- " @type" : string | [ string , ...string [ ] ] ;
169+ ' @type' : string | [ string , ...string [ ] ] ;
170170 description ?: string ;
171171 /**
172172 * The parameter's default value
173173 */
174- " @default" ?: string ;
174+ ' @default' ?: string ;
175175 [ k : string ] : unknown ;
176176}
0 commit comments