Is memoize supposed to work on getters?
Đang mở
enhancement
help wanted
- 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ả
(tested in Typescript)
```
import { memoize } from 'decko';
class Stores(){
}
class Container {
@memoize
public get stores () {
return new Stores();
}
}
```
Throws an error:
`Invalid property descriptor. Cannot both specify accessors and a value or writable attribute, #`
For reference: https://github.com/darrylhodgins/typescript-memoize does work.
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á.