Skip to content

Commit c5466e9

Browse files
haramjjasnell
andauthored
Update doc/api/tls.md
Co-authored-by: James M Snell <[email protected]>
1 parent 4d143b9 commit c5466e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/tls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,8 +2321,8 @@ added:
23212321
If an object, it may contain:
23222322
* `type` {string} The type of CA certificates to return. One of `"default"`, `"system"`, `"bundled"`, or `"extra"`.
23232323
**Default:** `"default"`.
2324-
* `as` {string} The format of returned certificates. One of:
2325-
* `"buffer"` (default): Returns an array of certificate data as `Buffer` objects.
2324+
* `as` {string} The format of returned certificates. **Default**: `"buffer"`.
2325+
* `"buffer"`: Returns an array of certificate data as `Buffer` objects.
23262326
* `"x509"`: Returns an array of \[`X509Certificate`]\[] instances.
23272327

23282328
* Returns: {Array.\<Buffer|X509Certificate>}

0 commit comments

Comments
 (0)