acl-services / acl-services/paprika

Confirmation: typings missing for TriggerButton

未關閉
#989 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Low Priority ↓
主要語言
JavaScript
星號
54
分支
10
平均合併
1 天 12 小時
30 天內合併 PR
6

描述

# Bug Report
## Expected behavior
I'd like to be able to use `` in TypeScript code.

## Current behavior
I'm getting `Property 'TriggerButton' does not exist on type 'typeof Confirmation'. ts(2339)`

## Screenshots / Gifs / Codepens
![image](https://user-images.githubusercontent.com/93752/112703195-43736d80-8e53-11eb-84a4-837c8e331281.png)

## Additional context

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

No files or tests are referenced. Start by locating where `Confirmation` is exported and where its TypeScript declarations for static members are defined, then inspect how other attached components are typed. Add a typing entry for `TriggerButton` on `typeof Confirmation`, and run the repo’s TypeScript typecheck/build to confirm `Confirmation.TriggerButton` no longer reports `ts(2339)`.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
react, typescript
領域
frontend
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。