From aaf1102b98bc229292c97851e428bf6b9df84c7c Mon Sep 17 00:00:00 2001 From: Christian Cook <3473396+CookieCookson@users.noreply.github.com> Date: Thu, 5 Dec 2024 22:35:09 +0000 Subject: [PATCH] fix: Coerce search query params type to LaunchParameters --- src/Cmi5.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cmi5.ts b/src/Cmi5.ts index 1149709..6ef4f56 100644 --- a/src/Cmi5.ts +++ b/src/Cmi5.ts @@ -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; } }