Skip to content

Instantly share code, notes, and snippets.

@shahriar-shojib
Forked from dillionverma/lucide-react.d.ts
Created May 2, 2025 12:31
Show Gist options
  • Save shahriar-shojib/05e709fff07f777a212aed6e44893b22 to your computer and use it in GitHub Desktop.
Save shahriar-shojib/05e709fff07f777a212aed6e44893b22 to your computer and use it in GitHub Desktop.
How to stop @radix-ui, next/router and lucide-react auto-imports
declare module 'lucide-react' {
export * from 'lucide-react/dist/lucide-react.suffixed'
}
{
"typescript.preferences.autoImportSpecifierExcludeRegexes": [
"@radix-ui",
"next/router",
"next/dist",
"^lucide-react/dist/lucide-react.suffixed$",
]
}
{
"compilerOptions": {
"baseUrl": ".",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment