helperdiscord / petitio

An HTTP/S library designed to be simple, fast, and type-strong.
https://helperdiscord.github.io/petitio/
MIT License
44 stars 6 forks source link

chore: export HTTPMethod #32

Closed tbnritzdoge closed 2 years ago

tbnritzdoge commented 3 years ago

export the http method

tbnritzdoge commented 3 years ago

Doesn't the second export break things, since the first declared that its only export should be the function? Also, make ts-ignore usage more clear.

I tested and somehow it doesn't. All it seems to do is tell ts that you can import the type from root rather than from the explicit type path (dist/lib/PetitioRequest iirc)

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 98.557% when pulling bc0def2b9e3365de384be6a7e8fd2208aee2f0a3 on chore/export-methods into b9f24f9ad3e7d3c42650ab294a74e20c00e3729b on main.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 98.557% when pulling 43925e46650496f1ac043a7afae8ebd01d906ed8 on chore/export-methods into b9f24f9ad3e7d3c42650ab294a74e20c00e3729b on main.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

coveralls commented 3 weeks ago

Coverage Status

coverage: 98.557%. remained the same when pulling bc0def2b9e3365de384be6a7e8fd2208aee2f0a3 on chore/export-methods into b9f24f9ad3e7d3c42650ab294a74e20c00e3729b on main.

coveralls commented 3 weeks ago

Coverage Status

coverage: 98.557%. remained the same when pulling bc0def2b9e3365de384be6a7e8fd2208aee2f0a3 on chore/export-methods into b9f24f9ad3e7d3c42650ab294a74e20c00e3729b on main.