Type alias MapStructureFunction<T>
MapStructureFunction<T>: ((contents,
fullPath,
stat) => Promise<string | Buffer> | string | Buffer) Type declaration
- (contents, fullPath, stat): Promise<string | Buffer> | string | Buffer
Parameters
contents: T
fullPath: string
Returns Promise<string | Buffer> | string | Buffer
Mapper function signature for [[mapStructure]] (async).