I am trying to migrate tsd to typings, as typings seems to be replacement of tsd. So I run the following command for
typings install dt~express --global --save
and the output is like
typings INFO reference Stripped reference "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/serve-static/serve-static.d.ts" during installation from "express" (main) typings INFO reference Stripped reference "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/express-serve-static-core/express-serve-static-core.d.ts" during installation from "express" (main) express └── (No dependencies)
Then I run tsc to compile my express project, I got the error like
typings/globals/express/index.d.ts(4,34): error TS2307: Cannot find module 'serve-static'. typings/globals/express/index.d.ts(5,27): error TS2307: Cannot find module 'express-serve-static-core'.
Seems like typings did not install typings for express's dependencies. I don't have this problem with tsd. Because it support an option "--resolve", which install all typings for the dependencies as well.
Does typings has this "resolve" feature as well?
Thanks