function mkdirSync
Overload 1
#mkdirSync(path: PathLike,options: MakeDirectoryOptions & { recursive: true; },): string | undefinedOverload 2
#mkdirSync(path: PathLike,options?: ,): voidSynchronous mkdir(2) - create a directory.
Parameters #
#options: optional
Either the file mode, or an object optionally specifying the file mode and whether parent folders
should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to 0o777.
Return Type #
void Overload 3
#mkdirSync(path: PathLike,options?: ,): string | undefinedSynchronous mkdir(2) - create a directory.
Parameters #
#options: optional
Either the file mode, or an object optionally specifying the file mode and whether parent folders
should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to 0o777.
Return Type #
string | undefined