Skip to content

Commit 04ed1c2

Browse files
Merge pull request #643 from PassiveLogic/kr/ts-expect-error-templates
PackageToJS: Replace @ts-ignore with @ts-expect-error in templates
2 parents 116b6d9 + 4079097 commit 04ed1c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Plugins/PackageToJS/Templates/instantiate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ import { SwiftRuntime } from "./runtime.js"
44
export const MODULE_PATH = "@PACKAGE_TO_JS_MODULE_PATH@";
55
/* #if USE_SHARED_MEMORY */
66
export const MEMORY_TYPE = {
7-
// @ts-ignore
7+
// @ts-expect-error Substituted by PackageToJS preprocessor
88
initial: import.meta.PACKAGE_TO_JS_MEMORY_INITIAL,
9-
// @ts-ignore
9+
// @ts-expect-error Substituted by PackageToJS preprocessor
1010
maximum: import.meta.PACKAGE_TO_JS_MEMORY_MAXIMUM,
11-
// @ts-ignore
11+
// @ts-expect-error Substituted by PackageToJS preprocessor
1212
shared: import.meta.PACKAGE_TO_JS_MEMORY_SHARED,
1313
}
1414
/* #endif */
1515

1616
/* #if HAS_BRIDGE */
17-
// @ts-ignore
17+
// @ts-expect-error Substituted by PackageToJS preprocessor
1818
import { createInstantiator } from "./bridge-js.js"
1919
/* #else */
2020
/**

0 commit comments

Comments
 (0)