Type alias ParsedExpression
ParsedExpression: ((path, basename?, hasSibling?) => string | Promise<string>)
Type declaration
- (path, basename?, hasSibling?): string | Promise<string>
Parameters
- path: string
Optional
basename: stringOptional
hasSibling: ((name) => boolean | Promise<boolean>)- (name): boolean | Promise<boolean>
Returns boolean | Promise<boolean>
Returns string | Promise<string>