0.1.2 • Published 3 months ago

@shopware-ag/storefront-types v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Types for Shopware Storefront

This package provides types for window-bound classes in Shopware 6 Storefront:

  • window.PluginManager
  • window.PluginBaseClass
  • window.router

and all regular imports of the Storefront.

Install this package with NPM:

npm install @shopware-ag/storefront-types --save-dev

To have the types active, you need to create a tsconfig.json (src/Resources/app/storefront/tsconfig.json) with the following content:

{
    "compilerOptions": {
        "types": ["@shopware-ag/storefront-types"]
    }
}
0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago