Skip to content

Commit

Permalink
Added return type to function
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Vega committed Oct 1, 2024
1 parent 1df57de commit 7d42ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/studyUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* - Returns "Open" if only open access is enabled.
* - Returns an empty string if neither is enabled.
*/
export const formatAccessTypes = (controlledAccess: boolean, openAccess: boolean) => {
export const formatAccessTypes = (controlledAccess: boolean, openAccess: boolean): string => {
const properties: AccessType[] = [];
if (typeof controlledAccess === "boolean" && controlledAccess === true) {
properties.push("Controlled");
Expand Down

0 comments on commit 7d42ceb

Please sign in to comment.