Is your feature request related to a problem? Please describe.
Currently, the react-pdf library uses PDF version 1.3 as the default. However, as the technology evolves, PDF version 2.0 is becoming more common and offers a number of security benefits.
Now when I set 2.0 in pdfVersion prop, Typescript displays an error and I see the default value of 1.3 in the generated PDF
Describe the solution you'd like
Extend type with 2.0 version:
Is your feature request related to a problem? Please describe. Currently, the react-pdf library uses PDF version 1.3 as the default. However, as the technology evolves, PDF version 2.0 is becoming more common and offers a number of security benefits.
Now when I set 2.0 in pdfVersion prop, Typescript displays an error and I see the default value of 1.3 in the generated PDF
Describe the solution you'd like Extend type with 2.0 version: