-
Notifications
You must be signed in to change notification settings - Fork 135
Added custom.d.ts files #199
Comments
@johnpapa That's no way to do that right now, but it's the aim for the next version of TSD. For now, I tend to store custom |
how are you referencing 2 sets of typings? |
You can reference as many as you want using the files array in |
Ah, I use empty files array as It would be insane to keep up with all of the files :) I guess custom typings can go anywhere with that strategy. It would be nice to have a safe place to put them, such as a sub folder in typings for custom ones. I am thinking of moving them to a side folder for custom typings. |
You don't need all the files in the array, just the entry points, but I understand it gets to be a bit of a pain (especially with test files). A safe place can be anywhere in your app, I want to try keeping custom |
Yet another folder is just more mess. I think the location of a folder to exclude from normal automated typings makes sense. typings/custom by default but use tsconfig.json to set it up. Otherwise we have yet another folder On that note ... I'd love to see tsd.json go away and become a section of tsconfig.json. #200 |
Perhaps, but then you'll have to just set up your gitignore rules and everything else yourself. When I first started working with TSD I used As for merging it into |
the real solution is NOT to have custom d.ts but to get the in this repo, I guess. lol |
and yeah, i'm good thanks for hashing it out |
I've got a few custom d.ts files that I'd like to add to the typings folder. Works good. I want to be able to gitignore the typings folder and have not just the regular typings come back but also my custom one.
Is there a feature to allow loading a custom d.ts file from another location? Or to have tsd.json point to a subfolder or some other way to differentiate?
The text was updated successfully, but these errors were encountered: