D
Deno
V
Deno
β’
6mo ago
β’
6 replies
vicary
[Fresh 2] How to reference DOM types in Islands?
I have a simply click
-to
-copy button in my islands
, but
navigator.clipboard
navigator.clipboard
fails
deno check
deno check
because it
's only referencing Deno
's runtime API where clipboard features are not implemented
.
Is it possible to configure the project in a way that only
islands/**/*.tsx
islands/**/*.tsx
includes the DOM API in
compilerOptions.lib
compilerOptions.lib
?
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to load islands in Fresh 2.0 plugins?
D
Donald Biden / help
2y ago
window variable in fresh islands
R
rnbguy / help
4y ago
What are the best possible ways to create islands in Fresh?
B
Bhaumin / help
13mo ago