Back to list

TypeScript does not support importing .ts file extensions

5/10 Medium

TypeScript does not allow developers to import modules with explicit .ts extensions, unlike standard ECMAScript/JavaScript practices. This forces module resolution traversal which is particularly slow over networks, and contradicts TypeScript's own design where the team knows .ts files must be transpiled to .js anyway.

Category
compatibility
Workaround
hack
Stage
build
Freshness
persistent
Scope
language
Upstream
stale
Recurring
Yes
Buyer Type
team
Maintainer
slow

Sources

Collection History

Query: “What are the most common pain points with TypeScript in 2025?3/27/2026

TypeScript do not support if you add the .ts extension. It does not rename dependency specifiers... The TypeScript team 100% know the ".ts" extension is their own file-extension and it is extremely likely if someone want to import a ".ts" file from a TypeScript file, is the file very likely a TypeScript file.

Created: 3/27/2026Updated: 3/27/2026