readFileSync
readFileSync: (path: string | Buffer | URL | number, options?: { encoding?: undefined | null; flag?: undefined | string } | null) => Buffer
Type declaration
-
- (path: string | Buffer | URL | number, options?: { encoding?: undefined | null; flag?: undefined | string } | null): Buffer
-
Parameters
-
path: string | Buffer | URL | number
-
Optional options: { encoding?: undefined | null; flag?: undefined | string } | null
Returns Buffer