Module entities/FigmagicElement/logic/getFileContents
Functions
getFileContents
- getFileContents(filepath: string, filename: string, format: string): Record<string, unknown> | void
Parameters
filepath: string
filename: string
format: string
Returns Record<string, unknown> | void
Get contents of local file as a JSON object