mirror of
https://github.com/hanzoai/finance.git
synced 2026-10-30 18:36:28 +00:00
The 8.x convergence pass rewrote every build script to `tsgo` and added
@typescript/native-preview to both manifests. native-preview is typescript@7,
the Go-native compiler, and its package exports carry no JS compiler API:
require('typescript') yields only {version, versionMajorMinor} — no
createProgram, no transpileModule. Anything that drives the compiler in
process rather than shelling out to a binary breaks against it, which is
most of the toolchain.
So the scripts go back to `tsc` on typescript 5.9.3, the version both
packages already pinned, and native-preview leaves the manifests and the
lockfile. web's pin loosens from an exact 5.9.3 to ^5.9.3 to match
finance-ui.
The Dockerfile comment and web/css.d.ts both still described the tsgo setup
and its TS2882 behaviour; they now describe what the code actually does.
The css module declaration itself stays — Next declares only *.module.css,
so the bare stylesheet path still needs one.
Co-authored-by: Hanzo Dev <[email protected]>
6 lines
209 B
TypeScript
6 lines
209 B
TypeScript
/**
|
|
* Plain (non-module) stylesheet side-effect imports — `import '@hanzo/ui/theme.css'`.
|
|
* Next.js only declares `*.module.css`, so the bare path has no declaration of its own.
|
|
*/
|
|
declare module '*.css'
|