Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Outdated genType output and a mislabelled CodeTab in `typescript-integration.mdx`

未关闭 适合新手
#1,420 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
66/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

从 typescript-integration.mdx 第 113-114 行附近的 TypeScript 标签页开始,把旧的 genType 导入替换为 issue 中引用的 12.2.0 写法。然后打开第 93 行的 CodeTab,以及第 322 行附近的候选组件 apps/docs/src/components/Markdown.res,确认 JS 代码块为什么会丢失标签;issue 指出还没有检查过回退标签。完成的标准是:TypeScript 代码片段与当前 genType 的输出一致,并且每个 CodeTab 代码块都显示其预期标签。

由索引模型根据 Issue 内容生成。

描述

The TypeScript tab at lines 113-114 shows an older genType form (import * as MyCompBS__Es6Import from "./MyComp.res"; const MyCompBS: any = …); genType from 12.2.0 emits import * as MyCompJS from './MyComp.res.js';. The CodeTab at line 93 has two labels and three code blocks, so the JS block renders without its intended label (apps/docs/src/components/Markdown.res:322; candidate, fallback label not checked).


Line numbers refer to master at ff3eac6e.

主要语言
MDX
星标
1.9k
派生
260
平均合并
1 天 10 小时
30 天内合并 PR
28

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rescript-lang/rescript-lang.org 的其他 Issue

查看 rescript-lang/rescript-lang.org 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。