Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vtex-miss/styleguide-types

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex-miss/styleguide-types

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 mayb

  • 0.9.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
107
increased by69.84%
Maintainers
1
Weekly downloads
 
Created
Source

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"
    ]
  }
}

Keywords

FAQs

Package last updated on 09 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc