agneym / agneym/react-use-web-share

Cannot find name 'IShareConfig'

Đang mở
#20 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
17
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.