Skip to main content
interface StatSyncFn
extendsFunction ,

Call Signatures

(
path: PathLike,
options?: undefined,
): Stats
(
path: PathLike,
options?: StatSyncOptions & { bigint?: false | undefined; throwIfNoEntry: false; },
): Stats | undefined
(
path: PathLike,
options: StatSyncOptions & { bigint: true; throwIfNoEntry: false; },
): BigIntStats | undefined
(
path: PathLike,
options?: StatSyncOptions & { bigint?: false | undefined; },
): Stats
(
path: PathLike,
options: StatSyncOptions & { bigint: true; },
): BigIntStats
(
path: PathLike,
options: StatSyncOptions & { bigint: boolean; throwIfNoEntry?: false | undefined; },
): Stats | BigIntStats
(
path: PathLike,
options?: StatSyncOptions,
):
Stats
| BigIntStats
| undefined
Back to top