Typescript compilation errors and linting warning in Etch-A-Sketch example
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- eslint, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 167
- Fork
- 179
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của solidjs/solid-site
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
solidjs/solid-site#586 ·
-
Newsletter “registration could not be completed” due to newsletter.solidjs.com ERR_NAME_NOT_RESOLVEDĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
solidjs/solid-site#588 ·
-
A More Modern UI for the WebsiteĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
solidjs/solid-site#584 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
solidjs/solid-site#583 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
solidjs/solid-site#577 ·
Tất cả issue của solidjs/solid-site
Issue tương tự
-
Bump Firebase JS SDK (12.19.0 → 13.0.0)Có thể đã có người làm @SelaseKay đã nhận hôm nay. Đang mởNeeds Attention type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
invertase/react-native-firebase#9364 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[fullsend] E2E: rhdh-version-override — run-e2e.sh overrides RHDH_VERSION to non-existent 2.1Đang mởe2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/rhdh-plugin-export-overlays#4261 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] 官网文档的图片挂了Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cli bug triage:in-progress
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày