Skip to content

readFileFromInstallDir

readFileFromInstallDir(filePath, packageDir?): string

Defined in: core/dist/utils/fileUtils.d.ts:62

Read a file shipped with an installed package. Defaults to the core package dir; downstream packages shipping their own default files (e.g. prompts) pass their own package dir.

string

string

string