Skip to content

Commit

Permalink
fix: Coerce search query params type to LaunchParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieCookson committed Dec 5, 2024
1 parent 93a5c4a commit aaf1102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cmi5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ export default class Cmi5 extends AbstractCmi5 {
protected static getLaunchParametersFromLMS(): LaunchParameters {
return XAPI.getSearchQueryParamsAsObject(
window.location.search
) as LaunchParameters;
) as unknown as LaunchParameters;
}
}

0 comments on commit aaf1102

Please sign in to comment.