How to remove typescript definition?

I found some definition for me. I tried to delete, but I could not find the define command. This is not like npm the uninstall command can remove them directly, so I just delete them from tsd.json without entering the uninstall .

+6
source share
1 answer

Running tsd reinstall --clean will eliminate the definitions not found in tsd.json .

Please note that tsd deprecated. Consider using typings as a definition package manager.

Here you can remove the definition package using typing.

 typings uninstall <name> [--save|--save-dev|--save-peer] [--ambient] Options: [--save|-S] Remove from "dependencies" [--save-dev|-D] Remove from "devDependencies" [--save-peer|-P] Remove from "peerDependencies" [--ambient|-A] Remove from the ambient version of dependencies [-SA] Remove from "ambientDependencies" [-DA] Remove from "ambientDevDependencies" Aliases: r, rm, remove, un 
+7
source

All Articles