function openSyncopenSync(path: PathLike,flags: OpenMode,mode?: Mode | null,): numberDeprecatedReturns an integer representing the file descriptor. For detailed information, see the documentation of the asynchronous version of this API: open. Parameterspath: PathLikeoptionalflags: OpenMode = 'r'optionalmode: Mode | null = 0o666Return Typenumber