AlexGaiser / freepi

A libarary for free API wrappers and other services to aid in prototyping and development
2 stars 1 forks source link

Create a shared types package #68

Open AlexGaiser opened 3 years ago

AlexGaiser commented 3 years ago

We should consider creating another package that contains shared types. As the number of packages grows and complexity increases we may want to create shared types.

This could be done in 3 ways:

  1. Create @freepi/types
  2. Export/store types in @freepi/core
  3. Submit our types to @types repository
AlexGaiser commented 3 years ago

Currently added types to @freepi/core, they are being imported elsewhere. Not sure if necessary to create a whole separate package for them yet. Other examples I have seen keep types separate in their own package.