Add parameter type

pull/77/head
MillenniumEarl 2021-03-08 12:36:53 +01:00
parent bc3ed3c11c
commit a05ef64b3c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ import { urls } from "../constants/url";
*/ */
export default async function fetchLatestHandiworkURLs( export default async function fetchLatestHandiworkURLs(
query: LatestSearchQuery, query: LatestSearchQuery,
limit = 30 limit: number = 30
): Promise<string[]> { ): Promise<string[]> {
// Local variables // Local variables
const shallowQuery: LatestSearchQuery = Object.assign(new LatestSearchQuery(), query); const shallowQuery: LatestSearchQuery = Object.assign(new LatestSearchQuery(), query);