acl-services / acl-services/paprika

Confirmation: typings missing for TriggerButton

Aberta
#989 0 comentários 0 reações 0 responsáveis Ver no GitHub
Low Priority ↓
Linguagem predominante
JavaScript
Estrelas
54
Forks
10
Merge médio
1d 12h
PRs com merge (30d)
6

Descrição

# 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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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)`.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
react, typescript
Domínio
frontend
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.