Ship TypeScript declarations for the public API
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, typescript
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Read package.json and inspect the public exports in src/index.js to define declarations for each exported API. Add src/index.d.ts, wire the types field in package.json, and update README.md as needed; verify with the listed npx tsc --noEmit consumer check. Done when every named export has a declaration and the check passes without a runtime change.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
The package exports ESM only and has no type declarations. TypeScript consumers get implicit any for parseContractErrors, analyze, RULES and the baseline functions.
Scope
src/index.d.tspackage.jsonREADME.md
Acceptance criteria
-
index.d.tsdeclaresFinding,ErrorEnum,Variant, the config shape and every export. -
package.jsonpointstypesat the file. - A
tsc --noEmitcheck passes against a small consumer fixture. - There is no runtime change.
Verification
npx tsc --noEmit
Complexity
Medium (3 hours)
Part of Stellar Wave. Comment to claim this issue before starting.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 2
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 12
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 codepacct/codepact-core
-
analysis enhancement wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
codepacct/codepact-core#84 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
codepacct/codepact-core#83 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codepacct/codepact-core#82 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 77/100
codepacct/codepact-core#81 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
reporting tests wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codepacct/codepact-core#80 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codepacct/codepact-core
Issue tương tự
-
bug security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
IbrahimHafez1/loadwise#251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
erkamyaman/unslop-anything#421 ·
Maintainer thường phản hồi trong vòng 1 ngày