Closed izengliang closed 2 years ago
import { LitElement, css, html } from "lit";
import { LitElement as } from "lit"; // bugs
.parcelrc
{ "extends": "@parcel/config-default", "transformers": { "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"] } }
tsconfig.json
{ "compilerOptions": { "target": "es6", "strict": false, "allowSyntheticDefaultImports": true, "experimentalDecorators": true, "jsxImportSource": "preact", "isolatedModules": true, "esModuleInterop": true, "moduleResolution": "Node", "module": "es2020", "resolveJsonModule": true, "strictNullChecks": false } }
Thank you for reporting! This issue seems to be dup of #7325, and seems to be fixed in #7426. it works fine with the current v2 branch.
v2
🐛 bug report
src/index.ts
dist/types.d.ts
🎛 Configuration (.babelrc, package.json, cli command)
.parcelrc
tsconfig.json
🌍 Your Environment