Typescript compilation errors and linting warning in Etch-A-Sketch example
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- eslint, typescript
調査の方向性
Start with the Etch-A-Sketch SolidJS example and reproduce its TypeScript compilation and ESLint output. Find the code producing the style type error, the nullable render argument, and the non-self-closing empty div; done means the example compiles and the listed lint warning is gone.
索引モデルが issue の本文から書いたものです。
説明
I've encountered some issues with the Typescript compilation and a linting warning in the Etch-A-Sketch SolidJS example code. Here are the details:
-
Typescript error: The type definition for the
styleattribute seems incorrect. The error message is:Type '{ display: string; "grid-template-rows": string; "grid-template-columns": string; }' is not assignable to type 'string | CSSProperties | undefined'.
-
Typescript error: The
renderfunction is receiving anulltype argument which is not compatible with its expected parameter type. The error message is:Argument of type 'HTMLElement | null' is not assignable to parameter of type 'MountableElement'.
-
ESLint warning: The code has an empty div component which is not self-closing, raising a lint warning:
Empty components are self-closing.- This is a minor issue but could be improved for better code quality.
- 主要言語
- TypeScript
- スター
- 167
- フォーク
- 179
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
solidjs/solid-site のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
solidjs/solid-site#586 ·
-
Newsletter “registration could not be completed” due to newsletter.solidjs.com ERR_NAME_NOT_RESOLVEDオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
solidjs/solid-site#588 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
solidjs/solid-site#584 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
solidjs/solid-site#583 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
solidjs/solid-site#577 ·
solidjs/solid-site の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
supadata-ai/mcp#27 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
capricorn86/happy-dom#2485 ·
メンテナーはふだん 2 日以内に返信
-
优化导入 OCR 模型选择文件的按钮样式オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
siyuan-note/siyuan#20430 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Albert-Weasker/niubigeo#194 ·
メンテナーはふだん 1 日以内に返信