Actions
Task #101896
closedPrune global TypeScript types
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2023-09-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
- Only define type definitions via "types"
that need to be globally available.
See https://www.typescriptlang.org/tsconfig#types
> If `types` is specified, only packages listed will
> be included in the global scopeThose whose exports are (and can be) imported locally
are not included globally bot only explicitly via
`import` by the typescript modules that make actually
use of these dependencies.
- Move declarations from global into local scope that were
actually only defined and used in specific files.
- Remove unnecessary `declare module` statements that
shadowed type definitions that are avaiable right now: * This means muuri is now type checked, which revealed
wrong usage in the dashboard grid and is fixed right away
Actions