brianloveswords / base64url

For encoding and decoding base64url!
MIT License
225 stars 44 forks source link

TSD error #10

Closed microshine closed 6 years ago

microshine commented 8 years ago

I'm using your lib from npm. But when I start to compile my oun module a have TS error with duplicated node.d.ts declarations. You add folder typings to npm lib. I think it would be better to distribute base64url via TSD. I created base64url.d.ts and made PR.

microshine commented 8 years ago

base64url is in TSD now base64url.d.ts

sudo npm install typings -g
typings search base64url
typings install dt~base64url --global --save

I think it's the best practis of using tsd

r-ising commented 8 years ago

+1

i have the same problem..

pnizer commented 8 years ago

I got the following error message: "Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."

MylesBorins commented 6 years ago

This project has been relying on "types/node" since 3.0.0 which I think should hopefully solve this issue.