Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Plugin doesn't create a tsd.d.ts file #7

Open
lazdmx opened this issue Mar 23, 2014 · 5 comments
Open

Plugin doesn't create a tsd.d.ts file #7

lazdmx opened this issue Mar 23, 2014 · 5 comments
Labels

Comments

@lazdmx
Copy link

lazdmx commented Mar 23, 2014

Plugin doesn't create a tsd.d.ts file in typings director

@progre
Copy link

progre commented Mar 25, 2014

tsd.d.ts is created at latest: true, but it isn't created at latest: false.
i want to create whichever.

@Bartvds
Copy link
Collaborator

Bartvds commented Mar 25, 2014

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!

@Bartvds Bartvds added the bug label Mar 25, 2014
@Bartvds
Copy link
Collaborator

Bartvds commented Mar 26, 2014

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).

@patkujawa-wf
Copy link

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"
    }
  }
}

@kichooo
Copy link

kichooo commented Apr 13, 2015

Still reproducing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants