diff --git a/src/functions.ts b/src/functions.ts index 69f1d84..6bc594e 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -96,7 +96,7 @@ async function get_latest_stable_nextflow_release( export async function get_nextflow_release( version: string, - releases: AsyncGenerator + releases: NextflowRelease[] | AsyncGenerator ): Promise { // First, check to see if we are using a "latest-*" version system, and return // early