How can we use Typescript with Gherkin (BDD) with codecept?

I saw one example with typescript + codeceptjs , but cant convert step definations file of BDD in typescript .

Given("Welcome to my application’, () => {

I.amOnPage(’/’);

});

Hi Deepti, Even I have this question. I need to write these things in Type script.

Appreciate the help if somebody knows.

@deepti30punjabi
Please post the error