It would be great if the definition is attached at the source, as any incompatible change can be detected by the test.
But I'm aware that some authors prefer not to have the definitions attached at the source. If it's the case, I'd submit it to DefinitelyTyped instead.
@mafintosh: Do you accept a typescript definition PR for tar-stream? I have one working at https://github.com/alvis/tar-stream/tree/typescript
It would be great if the definition is attached at the source, as any incompatible change can be detected by the test. But I'm aware that some authors prefer not to have the definitions attached at the source. If it's the case, I'd submit it to DefinitelyTyped instead.