0.1.8 • Published 4 months ago
@friendsofshopware/storefront-types v0.1.8
Types for Shopware Storefront
This package provides types for window bound classes in Shopware 6 Storefront:
window.PluginManager
window.PluginBaseClass
window.router
Install this package with NPM:
npm install @friendsofshopware/storefront-types --save-dev
To hav the types active, you need to create a tsconfig.json
(src/Resources/app/storefront/tsconfig.json
) with following content:
{
"compilerOptions": {
"types": ["@friendsofshopware/storefront-types"]
}
}