agneym / agneym/react-use-web-share

Cannot find name 'IShareConfig'

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
17
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,
and first of all, thanks for this useful hook. I'm using it with no problem on my dev app but when it comes *build* time, the following error is raised :
```
node_modules/react-use-web-share/release/index.d.ts:11:29 - error TS2304: Cannot find name 'IShareConfig'.

11 share: (config: Partial) => void;
```

Any idea how to solve it ?
(I'm using vitejs)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.