swc/bundler/tests/deno/deno-8530/input/entry.ts
강동윤 ea6beaa06d
Fix bundler (#1242)
swc_ecma_codegen:
 - Fix codegen of unicode escapes. (denoland/deno#8541)

swc_bundler:
 - Allow importing a module multiple time. (denoland/deno#8530)
2020-11-30 18:21:34 +09:00

9 lines
252 B
TypeScript

import Head from "https://deno.land/x/aleph/head.ts"
import * as Head2 from "https://deno.land/x/aleph/head.ts"
console.log(Head, Head2);
if (typeof Head !== 'function') {
throw new Error()
}
if (typeof Head2 !== 'object') {
throw new Error()
}