mirror of
https://github.com/zenlm/zen-nano.git
synced 2026-11-10 21:48:18 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API. The docs site runs next 16, which reads its own tsconfig setup, so it takes the pin directly: 26 diagnostics before and after. Its nested vite site is linted by typescript-eslint, which cannot read the compiler, so there 7.0.2 comes in aliased as tsgo and typescript stays on the 6 line: 0 before and after. TS7 removed baseUrl, so the one path mapping is relative now; four mappings that pointed at absolute paths on one machine were unused and are gone. A side-effect stylesheet import needs an ambient declaration in both projects. Co-authored-by: Hanzo Dev <[email protected]>
3 lines
107 B
TypeScript
3 lines
107 B
TypeScript
// A side-effect stylesheet import carries no types; TS7 asks for the declaration.
|
|
declare module '*.css';
|