For non-ts files, `getEditsForRefactor` will hit the following assertion. ``` Error: Debug Failure. File /.../xxx.yyy has unknown extension. ``` This is hardcoded by TS in the internal variable `extensionsToRemove`, and there is currently no way to modify it.