These are chat archives for DefinitelyTyped/DefinitelyTyped

16th
Sep 2016
Codemonk
@wushilong
Sep 16 2016 13:36
hello
hello @vvakame
#11220 is my PR
Steven Demurjian Jr.
@sdemurjian
Sep 16 2016 14:57
Hi, after I switched from typings and installed all my packages using @types, none of imports are working. ie import * as d3 from 'd3'; says d3 module was not found
I've restarted vscode several times, and uninstalled/reinstalled all npm packages.
Antoine LUCAS
@a-lucas
Sep 16 2016 18:33
Hello, I wrote a github project in ES6 using typescript https://www.npmjs.com/package/simple-url-cache , and I am now struggling to define a definitvelyTyped file
struggle 1 : my .d.ts definition depends on the node_redis, and one function returns an instance of redis.RedisClient
i can't find how/wehere to include the dependency in my index.d.ts file
struggle2: I got a try on the yo generator example, but somewhere in the doc it says here: https://github.com/typings/typings/blob/master/docs/examples.md
This message was deleted
For 5, there should be no need to write a type definition. The declaration files included in the package should be automatically detected and used by the TypeScript compiler upon consumption of the package.
does the typescript compiler has an option to automatically generate a .t.ts file?
I'd really like some guidance.
Antoine LUCAS
@a-lucas
Sep 16 2016 20:23
anyway, all good, I made it finally: DefinitelyTyped/DefinitelyTyped#11287 ^^