@density/lib-api-types
v3.3.3
Published
TypeScript types for instances of downloaded API objects
Downloads
36
Keywords
Readme
lib-api-types
TypeScript types for instances of downloaded API objects
Caution
This package is currently published as plain TypeScript, with no transpilation or bundling. This allows dependent projects to get nice sourcemaps and such, provided they are configured correctly.
Basically, you need to cause ts-node, or babel-loader, or whatever is transpiling your TypeScript, to also transpile this module folder in node_modules. See package.json and tsconfig.json in https://github.com/DensityCo/lib-space-helpers for an example of mocha tests and ts-node transpiling this library. See config-overrides.js in https://github.com/DensityCo/dashboard for an example of create-react-app customization to support transpiling this package.