next-routes icon indicating copy to clipboard operation
next-routes copied to clipboard

Fix TypeScript types

Open bensalilijames opened this issue 5 years ago • 1 comments

The TypeScript types were using an incorrect API where the default export was an instance of the class Routes. Now the default export is a function that returns a new Routes(), so I've fixed and updated the test to match the new(?) API 🙂

bensalilijames avatar Jan 22 '19 15:01 bensalilijames

Coverage Status

Coverage decreased (-0.4%) to 94.468% when pulling 6da406b59fa2d51aa33546b9259fccaf650561bd on benhjames:bhj/fix-types into 08e8bbeaa76c5ec194abea388a193bedac7f35fc on fridays:master.

coveralls avatar Jan 22 '19 15:01 coveralls