Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Pretty print Typescript type declarations shipped with xstate

オープン
#462 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
build-system

調査の方向性

生成された .d.ts ファイルを生成するパッケージ公開プロセスをまず特定し、どこでフォーマットを実行できるかを確認します。公開された TypeScript 宣言が、型や API を変更せずに、一貫した行折り返しで読みやすくなっていることを検証します。

索引モデルが issue の本文から書いたものです。

説明

I've been getting started with xstate for the last few days and — despite reading the docs quite thoroughly and understanding the concepts — I often find myself consulting the TS types to discover the exact shape or order of some function's arguments, etc. They are, for those things, the best kind of docs.

Unfortunately, even if one understands the advanced types, the type declarations file is almost impossible to read — just because the lines are so long. So this is a simple request to run prettier or a similar formatter over the generated .d.ts files as part of the package publishing process.

主要言語
MDX
スター
39
フォーク
94
平均マージ
14時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

statelyai/docs のほかの issue

statelyai/docs の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。