lit / lit/lit

[lit-starter-ts] not playing well with TypeScript 4.7 node16 module

Open
#3,027 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
21.8k
Forks
1.1k
Avg merge
18h 25m
Merged PRs (30d)
2

Description

# Description

Cannot build `lit-element-starter-ts` with TypeScript 4.7 node16 module config.

Also submitted a similar [issue](https://github.com/open-wc/open-wc/issues/2453) on open-wc repo.

# Steps to Reproduce

Created a [repo](https://github.com/mgenware/lit-element-starter-ts-node16-issues) with repo steps.

## Expected Results

Build with no errors.

## Actual Results

Found 17 errors in 2 files. See the repo above for details.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked lit-element-starter-ts-node16-issues reproduction and run its build using TypeScript 4.7 with the node16 module configuration. Compare the 17 errors reported in the two affected files with the starter project; done means the starter builds without errors under that configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.