D
Deno
A
Deno
β’
9mo ago
β’
1 reply
Adam Scott
Is there a way to use `tsconfig.json` `compilerOptions.types`?
I just saw that
/// <
reference
types
=
"npm:@types/serviceworker"
/>
/// <
reference
types
=
"npm:@types/serviceworker"
/>
works in my project
, but is there somehow a way to set the type instead in the
tsconfig.json
tsconfig.json
file like normal Node
/TypeScript projects
?
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
What is the correct syntax to set the `compilerOptions.types` to use npm @types library
J
jzbg / help
3y ago
ImportTypeScript API + get value of `compilerOptions` with default options from `tsconfig.json`?
W
wauterboi / help
2y ago
Is tsconfig.json still needed with Deno?
D
Definitely Not A Dolphin / help
3mo ago
is there a way to make deno check produce json files?
D
dan.the.discloser / help
4y ago