1

I'm using StamplayAPI Javascript, but there is no set type for this library. So I created a type .d.ts for this library and did a pull request. But I would not want to wait for the acceptance of the pull request to start using my type.

How can I start using my type with the tsd?

Is there any way to install a type of an outside source .. something like

tsd install stamplay-js-sdk --source /my/git/repo/or/path/to/folder
Sklivvz
  • 30,601
  • 24
  • 116
  • 172
ridermansb
  • 10,779
  • 24
  • 115
  • 226
  • 1
    you can do this manually - just copy your file into your project and add reference to it something like ``///`` – Oleh Dokuka Sep 23 '15 at 11:43

1 Answers1

1

Just put "repo": "Ridermansb/DefinitelyTyped", into your tsd.json.

Gaelan
  • 1,149
  • 11
  • 25