Skip to content

DataAdapter.read method

DataAdapter › read

Official

Read the contents of a file.

Signature:

read(normalizedPath: string): Promise<string>

Parameters:

Parameter Type Description
normalizedPath string path to file, use {@link normalizePath} to normalize beforehand.

Returns: Promise<string>