0.8.0 • Published 1 month ago

@vtex-miss/styleguide-types v0.8.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Motivation

In my day to day work with VTEX IO I use the lib vtex.styleguide a lot and i like to use Typescript, but the lib doesn't have all types defined. The oficial lib looks like than stoped to be maintained, so i decided to create this lib to help me and maybe help you too.

Usage

Access you react directory and install the lib:

yarn add @vtex-miss/styleguide-types

How this lib is only types, you need to guarantee that the lib vtex.styleguide@6.x is in your manifest.json in your VTEX IO APP.

{
  "dependencies": {
    // ...
    "vtex.styleguide": "6.x"
  }
}

includes this type in your tsconfig to overwrite the natives types

// tsconfig.json
{
  "compilerOptions": {
    // ...
    "include": [
      // ... 
      "node_modules/@vtex-miss/styleguide-types/src/index.d.ts"
    ]
  }
}
0.8.0

1 month ago

0.7.0

1 month ago

0.6.0

4 months ago

0.5.0

7 months ago

0.4.0

7 months ago

0.3.0

7 months ago

0.2.0

8 months ago