developit / developit/decko

Issues with Typescript

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

Mô tả

Attempting to use `bind` throws this compilation error:

```
TS1241: Unable to resolve signature of method decorator when called as an expression.
Type 'TypedPropertyDescriptor' is not assignable to type 'void | TypedPropertyDescriptor<(userInfo: Readonly) => void>'.
Type 'TypedPropertyDescriptor' is not assignable to type 'TypedPropertyDescriptor<(userInfo: Readonly) => void>'.
Types of property 'value' are incompatible.
Type 'unknown' is not assignable to type '((userInfo: Readonly) => void) | undefined'.
Type 'unknown' is not assignable to type '(userInfo: Readonly) => void'.
```

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.