**Function 1: **Convert API return data to typescript type declaration.PS: Automatically assign the type content to the clipboard
Function 2:  ;convert objects of JavaScript to typescript type declaration.
Function 3: a plug-in that converts the type provided by the Swagger document to the typescript type automatically.
Keyboard shortcuts configuration.
- Default button configuration (window & mac)
- Object conversion operation
ctrl+shift+j
(Function 1) - Swagger conversion operation
ctrl+shift+k
(Function 2) - You can also make customize settings in the shortcut key setting interface.
- - PS: [js to ts]https://github.com/AKclown/js-to-ts
Top comments (0)