Translation using TypeScript is not working properly

I used the typescript boilerplate project and it’s working perfectly. I tried adding the translation parameter, regenerated the definitions and the translations do not work on the test files, complaining about missing definitions for the translated terms.

Does anyone have a guide or tutorial to instruct what to do to make this work? I tried the same steps in an empty Javascript project and it worked perfectly.

Also if there is a boilerplate for Typescript with Gherkin BDD style, it would also help us a lot.