wechat-miniprogram / wechat-miniprogram/api-typings

typescript升级到5.1及以上会报错

Open
#319 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
803
Forks
117
Avg merge
24m
Merged PRs (30d)
1

Description

这个PR是将typescript从5.0.4升级到5.3.3,经测试升级到5.1就会有同样的错误
https://github.com/jinganix/guess/pull/149

pipeline的错误日志:https://github.com/jinganix/guess/actions/runs/8791533803/job/24125986257?pr=149#step:5:2225

我看依赖里面的typescript是4.9,是不是不支持高版本的?

Contributor guide

No contributing guide indexed for this repository

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 PR #149 and its GitHub Actions pipeline log, then compare the repository's TypeScript 4.9 dependency with the reported failures on TypeScript 5.1 and 5.3.3. Done means the supported TypeScript version is established and the pipeline completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.