When compiling TypeScript files the parser is a bit different. I am afraid we need to write separate codemods for TypeScript.