### π Search Terms rewriteRelativeImportExtensions, import expression ### π Version & Regression Information - This changed between versions 5.7 ### β― Playground Link https://www.typescriptlang.org/play/?rewriteRelativeImportExtensions=true#code/PTAEEsFsAcHsCcAuoDkA6YAzWs2IM4oDcAsAFBRxIAU6WOehAlOUA ### π» Code Test One ```ts import('./foo.ts') ``` Test Two ```ts import './foo.ts'; import('./foo.ts') ``` ### π Actual behavior JS Output Test One ```ts import('./foo.ts') // β ``` Test Two ```ts import './foo.js'; // β import('./foo.js') // β ``` ### π Expected behavior JS Output Test One ```ts import('./foo.js') // β ``` Test Two ```ts import './foo.js'; // β import('./foo.js') // β ``` ### Additional information about the issue _No response_