Is memoize supposed to work on getters?
オープン
enhancement
help wanted
- 主要言語
- JavaScript
- スター
- 1k
- フォーク
- 34
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
(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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。