Open slim-hmidi opened 2 years ago
I use deno v1.23.4 and inject module. While I run the server I got this error:
error: Uncaught SyntaxError: The requested module './Reflect.ts' does not provide an export named 'Reflect' export { Reflect } from "./Reflect.ts";
It seems like deno accepts only declare namescpace and export type. https://deno.land/manual/typescript/faqs#why-are-you-forcing-me-to-use-isolated-modules-why-cant-i-use-const-enums-with-deno-why-do-i-need-to-do-export-type
declare namescpace
export type
This is a Deno/swc bug tracked in https://github.com/denoland/deno/issues/15197.
I use deno v1.23.4 and inject module. While I run the server I got this error:
It seems like deno accepts only
declare namescpace
andexport type
. https://deno.land/manual/typescript/faqs#why-are-you-forcing-me-to-use-isolated-modules-why-cant-i-use-const-enums-with-deno-why-do-i-need-to-do-export-type