Skip to content

Commit 3213008

Browse files
committed
doc: fix typed list formatting
1 parent ba49d71 commit 3213008

File tree

13 files changed

+163
-163
lines changed

13 files changed

+163
-163
lines changed

doc/api/buffer.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ added:
586586
- v14.18.0
587587
-->
588588

589-
* Type: {string}
589+
* {string}
590590

591591
The content-type of the `Blob`.
592592

@@ -5143,7 +5143,7 @@ added:
51435143
- v18.13.0
51445144
-->
51455145

5146-
* Type: {string}
5146+
* {string}
51475147

51485148
The name of the `File`.
51495149

@@ -5155,7 +5155,7 @@ added:
51555155
- v18.13.0
51565156
-->
51575157

5158-
* Type: {number}
5158+
* {number}
51595159

51605160
The last modified date of the `File`.
51615161

@@ -5221,7 +5221,7 @@ added:
52215221
- v18.15.0
52225222
-->
52235223

5224-
* input {Buffer | ArrayBuffer | TypedArray} The input to validate.
5224+
* `input` {Buffer | ArrayBuffer | TypedArray} The input to validate.
52255225
* Returns: {boolean}
52265226

52275227
This function returns `true` if `input` contains only valid ASCII-encoded data,
@@ -5237,7 +5237,7 @@ added:
52375237
- v18.14.0
52385238
-->
52395239

5240-
* input {Buffer | ArrayBuffer | TypedArray} The input to validate.
5240+
* `input` {Buffer | ArrayBuffer | TypedArray} The input to validate.
52415241
* Returns: {boolean}
52425242

52435243
This function returns `true` if `input` contains only valid UTF-8-encoded data,

doc/api/crypto.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,7 +2529,7 @@ added: v15.6.0
25292529
added: v15.6.0
25302530
-->
25312531

2532-
* Type: {boolean} Will be `true` if this is a Certificate Authority (CA)
2532+
* {boolean} Will be `true` if this is a Certificate Authority (CA)
25332533
certificate.
25342534

25352535
### `x509.checkEmail(email[, options])`
@@ -2687,7 +2687,7 @@ the given private key.
26872687
added: v15.6.0
26882688
-->
26892689

2690-
* Type: {string\[]}
2690+
* {string\[]}
26912691

26922692
An array detailing the key extended usages for this certificate.
26932693

@@ -2697,7 +2697,7 @@ An array detailing the key extended usages for this certificate.
26972697
added: v15.6.0
26982698
-->
26992699

2700-
* Type: {string}
2700+
* {string}
27012701

27022702
The SHA-1 fingerprint of this certificate.
27032703

@@ -2711,7 +2711,7 @@ certificates, consider using [`x509.fingerprint256`][] instead.
27112711
added: v15.6.0
27122712
-->
27132713

2714-
* Type: {string}
2714+
* {string}
27152715

27162716
The SHA-256 fingerprint of this certificate.
27172717

@@ -2723,7 +2723,7 @@ added:
27232723
- v16.14.0
27242724
-->
27252725

2726-
* Type: {string}
2726+
* {string}
27272727

27282728
The SHA-512 fingerprint of this certificate.
27292729

@@ -2746,7 +2746,7 @@ changes:
27462746
in response to CVE-2021-44532.
27472747
-->
27482748

2749-
* Type: {string}
2749+
* {string}
27502750

27512751
A textual representation of the certificate's authority information access
27522752
extension.
@@ -2767,7 +2767,7 @@ Third-party code should be prepared to handle both possible entry formats.
27672767
added: v15.6.0
27682768
-->
27692769

2770-
* Type: {string}
2770+
* {string}
27712771

27722772
The issuer identification included in this certificate.
27732773

@@ -2777,7 +2777,7 @@ The issuer identification included in this certificate.
27772777
added: v15.9.0
27782778
-->
27792779

2780-
* Type: {X509Certificate}
2780+
* {X509Certificate}
27812781

27822782
The issuer certificate or `undefined` if the issuer certificate is not
27832783
available.
@@ -2788,7 +2788,7 @@ available.
27882788
added: v15.6.0
27892789
-->
27902790

2791-
* Type: {KeyObject}
2791+
* {KeyObject}
27922792

27932793
The public key {KeyObject} for this certificate.
27942794

@@ -2798,7 +2798,7 @@ The public key {KeyObject} for this certificate.
27982798
added: v15.6.0
27992799
-->
28002800

2801-
* Type: {Buffer}
2801+
* {Buffer}
28022802

28032803
A `Buffer` containing the DER encoding of this certificate.
28042804

@@ -2808,7 +2808,7 @@ A `Buffer` containing the DER encoding of this certificate.
28082808
added: v15.6.0
28092809
-->
28102810

2811-
* Type: {string}
2811+
* {string}
28122812

28132813
The serial number of this certificate.
28142814

@@ -2822,7 +2822,7 @@ identifier instead.
28222822
added: v15.6.0
28232823
-->
28242824

2825-
* Type: {string}
2825+
* {string}
28262826

28272827
The complete subject of this certificate.
28282828

@@ -2839,7 +2839,7 @@ changes:
28392839
in response to CVE-2021-44532.
28402840
-->
28412841

2842-
* Type: {string}
2842+
* {string}
28432843

28442844
The subject alternative name specified for this certificate.
28452845

@@ -2864,7 +2864,7 @@ to handle both possible entry formats.
28642864
added: v15.6.0
28652865
-->
28662866

2867-
* Type: {string}
2867+
* {string}
28682868

28692869
There is no standard JSON encoding for X509 certificates. The
28702870
`toJSON()` method returns a string containing the PEM encoded
@@ -2876,7 +2876,7 @@ certificate.
28762876
added: v15.6.0
28772877
-->
28782878

2879-
* Type: {Object}
2879+
* {Object}
28802880

28812881
Returns information about this certificate using the legacy
28822882
[certificate object][] encoding.
@@ -2887,7 +2887,7 @@ Returns information about this certificate using the legacy
28872887
added: v15.6.0
28882888
-->
28892889

2890-
* Type: {string}
2890+
* {string}
28912891

28922892
Returns the PEM-encoded certificate.
28932893

@@ -2897,7 +2897,7 @@ Returns the PEM-encoded certificate.
28972897
added: v15.6.0
28982898
-->
28992899

2900-
* Type: {string}
2900+
* {string}
29012901

29022902
The date/time from which this certificate is valid.
29032903

@@ -2909,7 +2909,7 @@ added:
29092909
- v22.10.0
29102910
-->
29112911

2912-
* Type: {Date}
2912+
* {Date}
29132913

29142914
The date/time from which this certificate is valid, encapsulated in a `Date` object.
29152915

@@ -2919,7 +2919,7 @@ The date/time from which this certificate is valid, encapsulated in a `Date` obj
29192919
added: v15.6.0
29202920
-->
29212921

2922-
* Type: {string}
2922+
* {string}
29232923

29242924
The date/time until which this certificate is valid.
29252925

@@ -2931,7 +2931,7 @@ added:
29312931
- v22.10.0
29322932
-->
29332933

2934-
* Type: {Date}
2934+
* {Date}
29352935

29362936
The date/time until which this certificate is valid, encapsulated in a `Date` object.
29372937

@@ -5467,7 +5467,7 @@ If the `callback` function is provided this function uses libuv's threadpool.
54675467
added: v17.4.0
54685468
-->
54695469

5470-
* Type: {SubtleCrypto}
5470+
* {SubtleCrypto}
54715471

54725472
A convenient alias for [`crypto.webcrypto.subtle`][].
54735473

doc/api/events.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,11 +1984,11 @@ same options as `EventEmitter` and `AsyncResource` themselves.
19841984
19851985
### `eventemitterasyncresource.asyncId`
19861986
1987-
* Type: {number} The unique `asyncId` assigned to the resource.
1987+
* {number} The unique `asyncId` assigned to the resource.
19881988
19891989
### `eventemitterasyncresource.asyncResource`
19901990
1991-
* Type: The underlying {AsyncResource}.
1991+
* The underlying {AsyncResource}.
19921992
19931993
The returned `AsyncResource` object has an additional `eventEmitter` property
19941994
that provides a reference to this `EventEmitterAsyncResource`.
@@ -2002,7 +2002,7 @@ never be called.
20022002
20032003
### `eventemitterasyncresource.triggerAsyncId`
20042004
2005-
* Type: {number} The same `triggerAsyncId` that is passed to the
2005+
* {number} The same `triggerAsyncId` that is passed to the
20062006
`AsyncResource` constructor.
20072007
20082008
<a id="event-target-and-event-api"></a>
@@ -2159,7 +2159,7 @@ are created internally by Node.js.
21592159
added: v14.5.0
21602160
-->
21612161
2162-
* Type: {boolean} Always returns `false`.
2162+
* {boolean} Always returns `false`.
21632163
21642164
This is not used in Node.js and is provided purely for completeness.
21652165
@@ -2171,7 +2171,7 @@ added: v14.5.0
21712171
21722172
> Stability: 3 - Legacy: Use [`event.stopPropagation()`][] instead.
21732173
2174-
* Type: {boolean}
2174+
* {boolean}
21752175
21762176
Alias for `event.stopPropagation()` if set to `true`. This is not used
21772177
in Node.js and is provided purely for completeness.
@@ -2182,15 +2182,15 @@ in Node.js and is provided purely for completeness.
21822182
added: v14.5.0
21832183
-->
21842184
2185-
* Type: {boolean} True if the event was created with the `cancelable` option.
2185+
* {boolean} True if the event was created with the `cancelable` option.
21862186
21872187
#### `event.composed`
21882188
21892189
<!-- YAML
21902190
added: v14.5.0
21912191
-->
21922192
2193-
* Type: {boolean} Always returns `false`.
2193+
* {boolean} Always returns `false`.
21942194
21952195
This is not used in Node.js and is provided purely for completeness.
21962196
@@ -2210,7 +2210,7 @@ Node.js and is provided purely for completeness.
22102210
added: v14.5.0
22112211
-->
22122212
2213-
* Type: {EventTarget} The `EventTarget` dispatching the event.
2213+
* {EventTarget} The `EventTarget` dispatching the event.
22142214
22152215
Alias for `event.target`.
22162216
@@ -2220,7 +2220,7 @@ Alias for `event.target`.
22202220
added: v14.5.0
22212221
-->
22222222
2223-
* Type: {boolean}
2223+
* {boolean}
22242224
22252225
Is `true` if `cancelable` is `true` and `event.preventDefault()` has been
22262226
called.
@@ -2231,7 +2231,7 @@ called.
22312231
added: v14.5.0
22322232
-->
22332233
2234-
* Type: {number} Returns `0` while an event is not being dispatched, `2` while
2234+
* {number} Returns `0` while an event is not being dispatched, `2` while
22352235
it is being dispatched.
22362236
22372237
This is not used in Node.js and is provided purely for completeness.
@@ -2258,7 +2258,7 @@ This is not used in Node.js and is provided purely for completeness.
22582258
added: v14.5.0
22592259
-->
22602260
2261-
* Type: {boolean}
2261+
* {boolean}
22622262
22632263
The {AbortSignal} `"abort"` event is emitted with `isTrusted` set to `true`. The
22642264
value is `false` in all other cases.
@@ -2279,7 +2279,7 @@ added: v14.5.0
22792279
22802280
> Stability: 3 - Legacy: Use [`event.defaultPrevented`][] instead.
22812281
2282-
* Type: {boolean} True if the event has not been canceled.
2282+
* {boolean} True if the event has not been canceled.
22832283
22842284
The value of `event.returnValue` is always the opposite of `event.defaultPrevented`.
22852285
This is not used in Node.js and is provided purely for completeness.
@@ -2292,7 +2292,7 @@ added: v14.5.0
22922292
22932293
> Stability: 3 - Legacy: Use [`event.target`][] instead.
22942294
2295-
* Type: {EventTarget} The `EventTarget` dispatching the event.
2295+
* {EventTarget} The `EventTarget` dispatching the event.
22962296
22972297
Alias for `event.target`.
22982298
@@ -2318,15 +2318,15 @@ This is not used in Node.js and is provided purely for completeness.
23182318
added: v14.5.0
23192319
-->
23202320
2321-
* Type: {EventTarget} The `EventTarget` dispatching the event.
2321+
* {EventTarget} The `EventTarget` dispatching the event.
23222322
23232323
#### `event.timeStamp`
23242324
23252325
<!-- YAML
23262326
added: v14.5.0
23272327
-->
23282328
2329-
* Type: {number}
2329+
* {number}
23302330
23312331
The millisecond timestamp when the `Event` object was created.
23322332
@@ -2336,7 +2336,7 @@ The millisecond timestamp when the `Event` object was created.
23362336
added: v14.5.0
23372337
-->
23382338
2339-
* Type: {string}
2339+
* {string}
23402340
23412341
The event type identifier.
23422342
@@ -2467,7 +2467,7 @@ changes:
24672467
description: CustomEvent is now stable.
24682468
-->
24692469
2470-
* Type: {any} Returns custom data passed when initializing.
2470+
* {any} Returns custom data passed when initializing.
24712471
24722472
Read-only.
24732473

0 commit comments

Comments
 (0)