#101896Prune global TypeScript types
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 scope
Those 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