How can I use WebStorm to create a Cucumber step definition file in TypeScript instead of JavaScript?
问题 I'm building a new e2e test suite using Cucumber.js and I'd like to use TypeScript for my step files. When I create a new step and I press Alt+Enter to have WebStorm generate a new step file the only option I am presented with is to create a JavaScript file. Does anyone know how I can make this create a new step file in TypeScript? 回答1: Webstorm doesn't seem to provide a wizard for file type "TypeScript" so you might want to create your step definition file manually. For the Simple Math