mirror of
https://github.com/zenlm/gym.git
synced 2026-11-04 17:11:44 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next's type-check path cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. No root typecheck script existed; added one. No lockfile existed either (npm chosen: CI's deploy-docs.yml runs npm ci); package-lock.json generated here for the first time. TS2882 side-effect import of './globals.css' needed an ambient declare module '*.css' (globals.d.ts) picked up by the root tsconfig's **/*.ts include. 4 diagnostics before and after (assets/logo's own sub-project, left untouched, is swept in by the root tsconfig either way). Co-authored-by: Hanzo Dev <[email protected]>
2 lines
24 B
TypeScript
2 lines
24 B
TypeScript
declare module '*.css';
|