Files
nahodka-front/src/legacy.d.ts
2026-10-06 01:24:28 +03:00

14 lines
686 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Глобальные (asset) типы для проекта.
*
* Проект — гибрид JSX + TS: основная кодовая база пока на .js/.jsx, и TS
* инферирует их типы «best-effort». Новые файлы пишутся на TypeScript,
* а legacy-импорты в них «закорачиваются» кастами прямо в месте использования
* (см. MainFeed.tsx), поэтому для .js/.jsx здесь не нужно объявлений.
*/
declare module "*.css";
declare module "*.scss";
declare module "*.png";
declare module "*.jpg";
declare module "*.jpeg";
declare module "*.svg";