DO NOT MERGE: Show synthesized triple slash references in diagnostics for top200 analysis by andrewbranch · Pull Request #57569 · microsoft/TypeScript (original) (raw)
@andrewbranch Here are some more interesting changes from running the top-repos suite
Details
marmelab/react-admin
25 of 26 projects failed to build with the old tsc and were ignored
packages/ra-core/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- packages/ra-core/src/auth/AuthContext.tsx#L1
- packages/ra-core/src/controller/create/CreateContext.tsx#L1
- packages/ra-core/src/controller/create/CreateController.tsx#L1
- packages/ra-core/src/controller/edit/EditContext.tsx#L1
- packages/ra-core/src/controller/edit/EditController.tsx#L1
- packages/ra-core/src/controller/list/InfinitePaginationContext.ts#L1
- packages/ra-core/src/controller/list/ListContext.tsx#L1
- packages/ra-core/src/controller/list/ListController.tsx#L1
- packages/ra-core/src/controller/list/ListFilterContext.tsx#L1
- packages/ra-core/src/controller/list/ListPaginationContext.tsx#L1
- packages/ra-core/src/controller/list/ListSortContext.tsx#L1
- packages/ra-core/src/controller/record/RecordRepresentation.tsx#L1
- packages/ra-core/src/controller/saveContext/SaveContext.ts#L1
- packages/ra-core/src/controller/saveContext/SaveContextProvider.tsx#L1
- packages/ra-core/src/controller/show/ShowContext.tsx#L1
- packages/ra-core/src/controller/show/ShowController.tsx#L1
- packages/ra-core/src/core/CoreAdmin.tsx#L1
- packages/ra-core/src/core/CoreAdminContext.tsx#L1
- packages/ra-core/src/core/ResourceContext.ts#L1
- packages/ra-core/src/core/useResourceDefinition.ts#L1
- packages/ra-core/src/dataProvider/DataProviderContext.ts#L1
- packages/ra-core/src/export/ExporterContext.ts#L1
- packages/ra-core/src/form/FormGroupContext.ts#L1
- packages/ra-core/src/form/FormGroupsContext.tsx#L1
- packages/ra-core/src/form/ValidationError.tsx#L1
- packages/ra-core/src/form/choices/ChoicesContext.ts#L1
- packages/ra-core/src/form/useUnique.ts#L1
- packages/ra-core/src/i18n/I18nContext.ts#L1
- packages/ra-core/src/i18n/TestTranslationProvider.tsx#L1
- packages/ra-core/src/i18n/TranslatableContext.ts#L1
- packages/ra-core/src/inference/InferredElement.ts#L1
- packages/ra-core/src/notification/AddNotificationContext.tsx#L1
- packages/ra-core/src/notification/NotificationContextProvider.tsx#L1
- packages/ra-core/src/preferences/PreferencesEditorContextProvider.tsx#L1
- packages/ra-core/src/routing/BasenameContext.ts#L1
- packages/ra-core/src/routing/BasenameContextProvider.tsx#L1
- packages/ra-core/src/store/StoreContext.tsx#L1
- packages/ra-core/src/storybook/FakeBrowser.tsx#L1
- packages/ra-core/src/util/LabelPrefixContext.ts#L1
- packages/ra-core/src/util/LabelPrefixContextProvider.tsx#L1
- packages/ra-core/src/util/Ready.tsx#L1
error TS18055: Declaration file contains synthesized type reference directives: '"lodash"'
nextauthjs/next-auth
16 of 40 projects failed to build with the old tsc and were ignored
packages/adapter-pouchdb/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"pouchdb-find", "pouchdb-core", "pouchdb-mapreduce", "pouchdb-replication"'
nextui-org/nextui
2 of 75 projects failed to build with the old tsc and were ignored
packages/core/system-rsc/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/core/system/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/hooks/use-aria-press/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
packages/components/button/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/avatar/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/accordion/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/hooks/use-data-scroll-overflow/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/scroll-shadow/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/listbox/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/code/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/link/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/card/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/popover/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/hooks/use-infinite-scroll/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/menu/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/dropdown/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/checkbox/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/kbd/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/hooks/use-callback-ref/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/modal/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/hooks/use-scroll-position/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/navbar/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- packages/components/navbar/src/navbar-brand.tsx#L1
- packages/components/navbar/src/navbar-content.tsx#L1
- packages/components/navbar/src/navbar-context.ts#L1
- packages/components/navbar/src/navbar-item.tsx#L1
- packages/components/navbar/src/navbar-menu-item.tsx#L1
- packages/components/navbar/src/navbar-menu.tsx#L1
- packages/components/navbar/src/navbar.tsx#L1
- packages/components/navbar/src/use-navbar.ts#L1
packages/components/progress/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/radio/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/components/table/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
prisma/prisma
82 of 120 projects failed to build with the old tsc and were ignored
packages/get-platform/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
error TS18055: Declaration file contains synthesized type reference directives: '"jest"'
packages/engines/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
error TS18055: Declaration file contains synthesized type reference directives: '"jest"'
packages/cli/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
error TS18055: Declaration file contains synthesized type reference directives: '"jest"'
packages/client/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
error TS18055: Declaration file contains synthesized type reference directives: '"jest"'
pubkey/rxdb
8 of 11 projects failed to build with the old tsc and were ignored
config/tsconfig.types.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
error TS18055: Declaration file contains synthesized type reference directives: '"mocha"'
puppeteer/puppeteer
7 of 14 projects failed to build with the old tsc and were ignored
packages/testserver/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"node", "node"'
test/installation/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
react-bootstrap/react-bootstrap
2 of 3 projects failed to build with the old tsc and were ignored
tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
react-navigation/react-navigation
1 of 14 projects failed to build with the old tsc and were ignored
packages/native/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/elements/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- packages/elements/src/Header/HeaderBackContext.tsx#L1 in packages/elements/tsconfig.build.json
- packages/elements/src/Header/HeaderHeightContext.tsx#L1 in packages/elements/tsconfig.build.json
- packages/elements/src/Header/HeaderShownContext.tsx#L1 in packages/elements/tsconfig.build.json
- packages/elements/src/types.tsx#L1 in packages/elements/tsconfig.build.json
packages/react-native-drawer-layout/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/drawer/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
packages/native-stack/tsconfig.build.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- packages/drawer/src/types.tsx#L1 in tsconfig.json
- packages/elements/src/Header/HeaderBackContext.tsx#L1 in tsconfig.json
- packages/elements/src/Header/HeaderHeightContext.tsx#L1 in tsconfig.json
- packages/elements/src/Header/HeaderShownContext.tsx#L1 in tsconfig.json
- packages/elements/src/types.tsx#L1 in tsconfig.json
- packages/native-stack/src/types.tsx#L1 in tsconfig.json
- packages/native/src/useBackButton.tsx#L1 in tsconfig.json
- packages/react-native-drawer-layout/src/types.tsx#L1 in tsconfig.json
ReactiveX/rxjs
11 of 15 projects failed to build with the old tsc and were ignored
packages/rxjs/src/tsconfig.types.json
error TS18056: Declaration file contains synthesized file reference directives: '"operators/index.d.ts", "testing/index.d.ts"'
recharts/recharts
demo/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"lodash", "react"'
redis/node-redis
packages/client/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"node"'
- packages/client/lib/client/RESP2/composers/buffer.ts#L1
- packages/client/lib/client/RESP2/composers/interface.ts#L1
- packages/client/lib/client/RESP2/composers/string.ts#L1
- packages/client/lib/client/RESP2/decoder.ts#L1
- packages/client/lib/client/index.ts#L1
- packages/client/lib/client/pub-sub.ts#L1
- packages/client/lib/cluster/index.ts#L1
- packages/client/lib/commands/CLIENT_CACHING.ts#L1
- packages/client/lib/commands/CLIENT_NO-EVICT.ts#L1
- packages/client/lib/commands/CLIENT_NO-TOUCH.ts#L1
- packages/client/lib/commands/CLIENT_PAUSE.ts#L1
- packages/client/lib/commands/CLIENT_TRACKING.ts#L1
- packages/client/lib/commands/CLIENT_UNPAUSE.ts#L1
- packages/client/lib/commands/CLUSTER_MYSHARDID.ts#L1
- packages/client/lib/commands/LCS.ts#L1
- packages/client/lib/commands/index.ts#L1
error TS18055: Declaration file contains synthesized type reference directives: '"node", "node"'
error TS18055: Declaration file contains synthesized type reference directives: '"node", "node", "node"'
Redocly/redoc
tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- demo/components/FileInput.tsx#L1
- demo/playground/hot.tsx#L1
- src/common-elements/Dropdown/styled.ts#L1
- src/common-elements/Dropdown/types.ts#L1
- src/common-elements/linkify.tsx#L1
- src/common-elements/tabs.ts#L1
- src/components/ApiLogo/styled.elements.tsx#L1
- src/components/Callbacks/CallbackTitle.tsx#L1
- src/components/Callbacks/styled.elements.ts#L1
- src/components/Fields/ArrayItemDetails.tsx#L1
- src/components/Fields/Examples.tsx#L1
- src/components/Fields/Pattern.tsx#L1
- src/components/JsonViewer/JsonViewer.tsx#L1
- src/components/Loading/Spinner.svg.tsx#L1
- src/components/Markdown/SanitizedMdBlock.tsx#L1
- src/components/Operation/Operation.tsx#L1
- src/components/PayloadSamples/Example.tsx#L1
- src/components/PayloadSamples/ExampleValue.tsx#L1
- src/components/PayloadSamples/styled.elements.ts#L1
- src/components/RedocStandalone.tsx#L1
- src/components/Responses/styled.elements.ts#L1
- src/components/Schema/ObjectSchema.tsx#L1
- src/components/Schema/RecursiveSchema.tsx#L1
- src/components/SearchBox/styled.elements.tsx#L1
- src/components/SecurityRequirement/RequiredScopesRow.tsx#L1
- src/components/SecurityRequirement/SecurityDetails.tsx#L1
- src/components/SecurityRequirement/SecurityHeader.tsx#L1
- src/components/SecurityRequirement/SecurityRequirement.tsx#L1
- src/components/SideMenu/Logo.tsx#L1
- src/components/SourceCode/SourceCode.tsx#L1
- src/components/StickySidebar/ChevronSvg.tsx#L1
- src/services/types.ts#L1
tsconfig.lib.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- src/common-elements/Dropdown/styled.ts#L1
- src/common-elements/Dropdown/types.ts#L1
- src/common-elements/linkify.tsx#L1
- src/common-elements/tabs.ts#L1
- src/components/ApiLogo/styled.elements.tsx#L1
- src/components/Callbacks/CallbackTitle.tsx#L1
- src/components/Callbacks/styled.elements.ts#L1
- src/components/Fields/ArrayItemDetails.tsx#L1
- src/components/Fields/Examples.tsx#L1
- src/components/Fields/Pattern.tsx#L1
- src/components/JsonViewer/JsonViewer.tsx#L1
- src/components/Loading/Spinner.svg.tsx#L1
- src/components/Markdown/SanitizedMdBlock.tsx#L1
- src/components/Operation/Operation.tsx#L1
- src/components/PayloadSamples/Example.tsx#L1
- src/components/PayloadSamples/ExampleValue.tsx#L1
- src/components/PayloadSamples/styled.elements.ts#L1
- src/components/RedocStandalone.tsx#L1
- src/components/Responses/styled.elements.ts#L1
- src/components/Schema/ObjectSchema.tsx#L1
- src/components/Schema/RecursiveSchema.tsx#L1
- src/components/SearchBox/styled.elements.tsx#L1
- src/components/SecurityRequirement/RequiredScopesRow.tsx#L1
- src/components/SecurityRequirement/SecurityDetails.tsx#L1
- src/components/SecurityRequirement/SecurityHeader.tsx#L1
- src/components/SecurityRequirement/SecurityRequirement.tsx#L1
- src/components/SideMenu/Logo.tsx#L1
- src/components/SourceCode/SourceCode.tsx#L1
- src/components/StickySidebar/ChevronSvg.tsx#L1
- src/services/types.ts#L1
tailwindlabs/headlessui
1 of 5 projects failed to build with the old tsc and were ignored
packages/@headlessui-react/tsconfig.json
error TS18055: Declaration file contains synthesized type reference directives: '"react"'
- packages/@headlessui-react/src/hooks/use-computed.ts#L1
- packages/@headlessui-react/src/hooks/use-element-size.ts#L1
- packages/@headlessui-react/src/hooks/use-is-mounted.ts#L1
- packages/@headlessui-react/src/hooks/use-latest-value.ts#L1
- packages/@headlessui-react/src/hooks/use-sync-refs.ts#L1
- packages/@headlessui-react/src/hooks/use-tab-direction.ts#L1
- packages/@headlessui-react/src/test-utils/execute-timeline.ts#L1
error TS18055: Declaration file contains synthesized type reference directives: '"jest"'