abuiles / types-js-xdr

0 stars 0 forks source link

Document how to start using this through GitHub #1

Open abuiles opened 5 years ago

abuiles commented 5 years ago

@charlie-wasp since we are just getting started, let's dog-food through GitHub for now yarn add -D types-js-xdr -- do you know what's the correct naming struct so ts can pick up the definitions?

charlie-wasp commented 5 years ago

At first glance, it seems that there isn't an easy way to make TS include definitions automatically 🤔 According to https://www.typescriptlang.org/docs/handbook/tsconfig-json.html (@types, typeRoots and types paragraph) only definitions from node_modules/@types are loaded