Open lazdmx opened 10 years ago
tsd.d.ts
is created at latest: true
, but it isn't created at latest: false
.
i want to create whichever.
Thanks for reporting!
I might have solved this in a TSD 0.5.7 (preview) already, otherwise it is probably easy to arrange.
I'll try to look into it asap!
I just pushed v0.1.0
to npm:
Both the reinstall
modes will now save the tsd.d.ts
by default (if you have the bundle
element in your tsd.json
).
This doesn't relate to grunt-tsd but to generation of the tsd.d.ts
file by the reinstall
task. I tried tsd reinstall
(tsd 0.5.7) with the following tsd.json and typings/tsd.d.ts was not generated - any idea why?
EDIT: I had to do tsd reinstall --save --overwrite
to actually get the tsd.d.ts file written :/
{
"version": "v4",
"repo": "borisyankov/DefinitelyTyped",
"ref": "master",
"path": "api",
"bundle": "typings/tsd.d.ts",
"installed": {
"jasmine/jasmine.d.ts": {
"commit": "9d2478b8a80febe1d89a5d35cdf6051d121f5437"
},
"node/node.d.ts": {
"commit": "9d2478b8a80febe1d89a5d35cdf6051d121f5437"
},
"lodash/lodash.d.ts": {
"commit": "bba33bcb0b363ae41db8517a09d1a4d07828616b"
},
"google.analytics/ga.d.ts": {
"commit": "bba33bcb0b363ae41db8517a09d1a4d07828616b"
}
}
}
Still reproducing.
Plugin doesn't create a
tsd.d.ts
file intypings
director