• Retrieves all files in the given directory recursively (synchronously)

    Parameters

    • dir: string
    • suffix: RegExp = ...

    Returns Generator<string>

    getAllFiles - for an asynchronous version.