Commit Graph

1 Commits

Author SHA1 Message Date
theridgerugby
67f59fab67 fix(types): declare raw imports for node consumers
Add a *?raw module declaration to electron-vite/node so raw file imports
in the main and preload processes are typed as string. Keep runtime
behavior unchanged.

Add an isolated consumer fixture to pnpm typecheck. Verify that raw
imports are strings and reject Buffer assignments so an accidental any
declaration cannot pass the regression check.

Fixes #893.
2026-10-21 23:56:12 -04:00