You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added JS null/undefined optional coverage and strict TS config for generation:
- Created `tsconfig.json` with strict/null-checking to ensure unions survive into BridgeJS generation.
- Extended runtime JS prelude and `bridge-js.d.ts` with optional number round-trips, regenerated bindings via `Utilities/bridge-js-generate.sh`, and added Swift runtime tests in `Tests/BridgeJSRuntimeTests/ImportAPITests.swift` to exercise `T | null` → `Optional` and `T | undefined` → `JSUndefinedOr`.
- Regenerated BridgeJS runtime artifacts under `Tests/BridgeJSRuntimeTests/Generated/` and related outputs.
Tests executed:
- `swift test --package-path ./Plugins/BridgeJS`
- `SWIFT_SDK_ID=DEVELOPMENT-SNAPSHOT-2025-11-03-a-wasm32-unknown-wasip1 make unittest`
0 commit comments