---
title: "Discussion on \"TypeScript 7.1 Import Attributes: Type Imports by Attribute, Not Extension\" | Hashnode"
description: "Discussion on \"TypeScript 7.1 Import Attributes: Type Imports by Attribute, Not Extension\". Every project that imports something other than JavaScript ends up with a globals.d.ts full of wildcard module declarations. *.css, *.svg, *.md, *.txt, one block per extension, each one promising Type"
url: "https://hashnode.com/posts/typescript-7-1-import-attributes-type-imports-by-attribute-not-extension/6b0966359d863b6ac936abdd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TypeScript 7.1 Import Attributes: Type Imports by Attribute, Not Extension](https://grimicorn.hashnode.dev/typescript-7-1-import-attributes-type-imports-by-attribute-not-extension?utm_source=hashnode&utm_medium=feed)

Every project that imports something other than JavaScript ends up with a globals.d.ts full of wildcard module declarations. \*.css, \*.svg, \*.md, \*.txt, one block per extension, each one promising Type

4d ago · 5 min read · grimicorn.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#tooling](https://hashnode.com/tag/tooling)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#bundlers](https://hashnode.com/tag/bundlers)

## Written by

[Dan Holloran](https://hashnode.com/@grimicorn)

@grimicorn · Chico, CA

  
[View profile](https://hashnode.com/@grimicorn)

Full-stack web developer since 2012 · Vue · React · Laravel · danholloran.me

Senior Full Stack Developer with 14+ years building performant, scalable web applications. Passionate about architecture, mentorship, and finding the right tool for the job.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
