/
githubmirror
/
wp-calypso
Обзор
Документация
Войти
/
githubmirror
/
wp-calypso
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
client/tsconfig.json
33 строки
1 KB
Paulo Marcos Trentin
Revert "Revert "React 19: upgrade standalone Calypso build - final bump (#112…" (#112339)
07 июл 2026, 20:24
Не верифицирован
07 июл 2026, 20:24
d8d61d0
Код
Авторство
О чём код?
{ "extends": "@automattic/calypso-typescript-config/mixed-package.json", "compilerOptions": { "rootDir": ".", "noEmit": true, // `client` is a leaf application project — nothing references it as a // composite project, so it never needs to emit declarations. Opting out // of declaration emit avoids React 19 `@types/react` declaration-emit // errors (e.g. the private `VoidOrUndefinedOnly` name leaking through // `connect()` HOC exports) without affecting type-checking. "composite": false, "declaration": false, "declarationMap": false, "types": [ "node", "@types/gtag.js", "@emotion/react/types/css-prop", "@testing-library/jest-dom" ], "paths": { "calypso/*": [ "./*" ] } }, "references": [ { "path": "../packages" }, { "path": "../build-tools" } ], "include": [ "**/*", "./lib/domains/tlds/wpcom-multi-level-tlds.json", "./__mocks__/lib/json-schema-draft-04.json", "./package.json", "./state/data-layer/wpcom/sites/jitm/schema.json", "./declarations.d.ts" ] }