(path: string)
| 46 | } |
| 47 | |
| 48 | export function withTrailingSlash(path: string): string { |
| 49 | if (path[path.length - 1] !== '/') { |
| 50 | return `${path}/` |
| 51 | } |
| 52 | return path |
| 53 | } |
| 54 | |
| 55 | // eslint-disable-next-line @typescript-eslint/no-empty-function |
| 56 | export const AsyncFunction = async function () {}.constructor as typeof Function |
no outgoing calls
no test coverage detected