D
Deno
S
Deno
β’
2y ago
β’
6 replies
SteveS
Cannot get TS to accept $lib import alias
Super frustrating
. I
'm using sveltekit which has a default
$lib import alias
. I
've added the alias to my deno
.json
, and the import itself works
, but the TS error won
't go away
.
Any ideas
?
{
"tasks"
: {},
"imports"
: {
"$lib/"
:
"./src/lib/"
}
}
{
"tasks"
: {},
"imports"
: {
"$lib/"
:
"./src/lib/"
}
}
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Cannot import when index.d.ts file
T
togakangaroo / help
17mo ago
Failing to create import alias for tauri project
M
Maia / help
5mo ago
Import SCSS in TS files
M
Mqx / help
2y ago
Cannot use import maps
K
kingbri / help
17mo ago