tsd icon indicating copy to clipboard operation
tsd copied to clipboard

tsd install --save doesn't work if types are already installed but not saved

Open andrewaustin opened this issue 10 years ago • 3 comments

Sometimes I forget to type --save when doing an install, so my tsd.json is not updated with my new type definitions.

If I rerun tsd install --save again my tsd.json is not updated. Instead, I must first rm typings/* and reinstall everything.

Is it possible to have tsd be consistent with tools like npm and bower where saving already installed packages will correctly save them? If so, I can work on a PR.

andrewaustin avatar Jul 03 '15 21:07 andrewaustin

Totally agree. I sent a PR covering it. I'll merge it. https://github.com/DefinitelyTyped/tsd/pull/183

Diullei avatar Jul 03 '15 22:07 Diullei

+1 really annoying

alexewerlof avatar Aug 31 '15 09:08 alexewerlof

Looks like this is still an issue in tsd 0.6.0-beta.5

hoto avatar Dec 26 '15 21:12 hoto