TS2300 [ERROR]: Duplicate identifier 'Deno' in Deno example #63
-
Hi! Thanks for a great module. I'm writing a small Deno app, and I'm getting this when doing
My Deno config is as this: {
"compilerOptions": {
"lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns", "deno.unstable"],
"jsxFactory": "h",
// NanoJSX needs this
"strictPropertyInitialization": false
}
} $ deno --version
deno 1.16.2 (release, x86_64-apple-darwin)
v8 9.7.106.2
typescript 4.4.2 I've tried to follow https://github.com/nanojsx/nano-jsx-deno-example, but not sure I've missed something? Why does NanoJSX redeclare the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sorry for that. It is hard to build an isomorphic library that works in Node.js, Deno and the Browser. |
Beta Was this translation helpful? Give feedback.
-
Works in v25 now. |
Beta Was this translation helpful? Give feedback.
Works in v25 now.