@mliebelt/pgn-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

In a nutshell

Provide the (type) language for all the pgn-* packages I am developing.

I have tried to develop parts of the pgn-* packages individually, and to import what is needed. By extracting now pgn-writer (that uses types in part defined by pgn-parser, part by pgn-reader) it gets more and more complicated.

To avoid having duplication of the types (by doing copy and paste), I try now to eliminate duplicates and move them to the common types used in many packages. The size should be minimal (only declaration), but perhaps I gain a common model where the small glitches that are not easy to find can be avoided.

And yes, I will have additional dependencies that has to be managed, with some more changes if types / design changes. But better to have it explicit instead of subtle errors ...

Readme

Keywords

Package Sidebar

Install

npm i @mliebelt/pgn-types

Weekly Downloads

155

Version

1.0.4

License

Apache-2.0

Unpacked Size

18.9 kB

Total Files

5

Last publish

Collaborators

  • mliebelt