From a05ef64b3c9df6e1d952b207795e01a6a883de60 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Mon, 8 Mar 2021 12:36:53 +0100 Subject: [PATCH] Add parameter type --- src/scripts/fetch-data/fetch-latest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/fetch-data/fetch-latest.ts b/src/scripts/fetch-data/fetch-latest.ts index 63d6b46..0f011f9 100644 --- a/src/scripts/fetch-data/fetch-latest.ts +++ b/src/scripts/fetch-data/fetch-latest.ts @@ -21,7 +21,7 @@ import { urls } from "../constants/url"; */ export default async function fetchLatestHandiworkURLs( query: LatestSearchQuery, - limit = 30 + limit: number = 30 ): Promise { // Local variables const shallowQuery: LatestSearchQuery = Object.assign(new LatestSearchQuery(), query);