alinemorelli / react-gtm

React Google Tag Manager
MIT License
658 stars 140 forks source link

Update orientation install pack #110

Open gitarno opened 2 years ago

gitarno commented 2 years ago

When installing the package it is not in the form of packages and the NPM orientation is installed using the prefix '@type'

RobinBertilsson commented 1 year ago

@gitarno, what exactly are you trying to accomplish here?

The package @types/react-gtm-module is only responsible for installing the correct TypeScript types. If you're not running a TS application - you don't need to install them.

Instead, we should include a "TypeScript" sub-section in the README to inform that the package is written in JavaScript, but there is type definitions in @types/react-gtm-module.