mirror of
https://github.com/zenlm/zen-blog.git
synced 2026-10-30 15:05:49 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 15 cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. Two side-effect stylesheet imports need an ambient declaration on the new compiler; with it, 0 diagnostics before and after. 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';
|