Add parameter type
parent
bc3ed3c11c
commit
a05ef64b3c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue