D
Deno
M
Deno
•
2y ago
•
34 replies
Mqx
`declare module` doesn’t work
I was trying to declare a module like so
:
declare
module
"*.scss"
;
declare
module
"*.scss"
;
But this simply doesn
’t have any effect whatsoever
.
I also tried this
:
declare
module
"*.scss"
{
const
content
:
string
;
export
default
content;
}
declare
module
"*.scss"
{
const
content
:
string
;
export
default
content;
}
None of this worked
. I don
’t know if
.d
.ts file are simply ignored by Deno or if this is a bug
, or I have done something wrong
.
This is the GitHub Issue
:
https://github.com/denoland/deno/issues/23007
I appreciate any help
Thanks
GitHub
`declare module` inside `.d.ts` does not get picked up by Deno · Is...
Hey
, I currently have a problem when importing non js
/ts files inside a js
/ts file
. deno
-ts shows an error with non
-resolvable imports for non
-js
/ts files
. For example i have this index
.ts files
, s
.
.
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
`deno.disablePaths` doesn't work
B
babakfp / help
3y ago
npm:undici doesn't work
神
神 / help
3y ago