yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.81k stars 271 forks source link

define types for many of the common methods of the public API #395

Closed yob closed 2 years ago

yob commented 2 years ago

PDF::Reader, PDF::Reader::Page and PDF::Reader::PageLayout are some of the first things a downstream user will interact with, let's define some types so they can confirm they're using the gem as intended by static type checking