From 40790973697a41e510127761c1681c7985e64f56 Mon Sep 17 00:00:00 2001 From: Krzysztof Rodak Date: Tue, 17 Feb 2026 12:15:53 +0100 Subject: [PATCH] PackageToJS: Replace @ts-ignore with @ts-expect-error in templates --- Plugins/PackageToJS/Templates/instantiate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/PackageToJS/Templates/instantiate.js b/Plugins/PackageToJS/Templates/instantiate.js index 955c2928c..c9bc9efb4 100644 --- a/Plugins/PackageToJS/Templates/instantiate.js +++ b/Plugins/PackageToJS/Templates/instantiate.js @@ -4,17 +4,17 @@ import { SwiftRuntime } from "./runtime.js" export const MODULE_PATH = "@PACKAGE_TO_JS_MODULE_PATH@"; /* #if USE_SHARED_MEMORY */ export const MEMORY_TYPE = { - // @ts-ignore + // @ts-expect-error Substituted by PackageToJS preprocessor initial: import.meta.PACKAGE_TO_JS_MEMORY_INITIAL, - // @ts-ignore + // @ts-expect-error Substituted by PackageToJS preprocessor maximum: import.meta.PACKAGE_TO_JS_MEMORY_MAXIMUM, - // @ts-ignore + // @ts-expect-error Substituted by PackageToJS preprocessor shared: import.meta.PACKAGE_TO_JS_MEMORY_SHARED, } /* #endif */ /* #if HAS_BRIDGE */ -// @ts-ignore +// @ts-expect-error Substituted by PackageToJS preprocessor import { createInstantiator } from "./bridge-js.js" /* #else */ /**