Skip to content

Commit

Permalink
Update return type in getContentData function
Browse files Browse the repository at this point in the history
  • Loading branch information
ProchaLu committed Mar 5, 2024
1 parent af86553 commit aecdeab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const getAllContentIds = (contentType: IContentType) => {
export const getContentData = async (
id: string,
contentType: IContentType,
): Promise<ContentType> => {
): Promise<ContentDataType> => {
let contentTypeDirectory: string;
let filenames;
switch (contentType.toLowerCase()) {
Expand Down

0 comments on commit aecdeab

Please sign in to comment.