Skip to content

Commit aab1647

Browse files
committed
style(utils): authDefault: add tsdoc
1 parent 3da59cc commit aab1647

File tree

1 file changed

+4
-0
lines changed
  • packages/mongodb-memory-server-core/src/util

1 file changed

+4
-0
lines changed

packages/mongodb-memory-server-core/src/util/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ export async function ensureAsync(): Promise<void> {
128128
return new Promise((res) => process.nextTick(res));
129129
}
130130

131+
/**
132+
* Convert Partitial input into full-defaulted output
133+
* @param opts Partitial input options
134+
*/
131135
export function authDefault(opts: AutomaticAuth): Required<AutomaticAuth> {
132136
return {
133137
force: false,

0 commit comments

Comments
 (0)