iron-session icon indicating copy to clipboard operation
iron-session copied to clipboard

FIX: Fix to tsconfig to add in required baseUrl key. Change imports/exports in a few files to make using baseUrl in other projects work.

Open csprance opened this issue 3 years ago • 1 comments

It mentions here in the Typescript docs that this baseUrl is required. https://www.typescriptlang.org/tsconfig#paths

I added this in and made a few changes to some of the imports/exports of a few files to make sure that in projects using a baseURL and paths everything works correctly.

This is the original issue with more info on the error I had that made me check this out. https://github.com/vvo/iron-session/issues/455

Fantastic project! We've been using it and I'm really digging it.

Hopefully this change is helpful.

All tests still passed.

csprance avatar Feb 05 '22 04:02 csprance

Someone is attempting to deploy a commit to a Personal Account owned by @vvo on Vercel.

@vvo first needs to authorize it.

vercel[bot] avatar Feb 05 '22 04:02 vercel[bot]