Is memoize supposed to work on getters?
Aperta
enhancement
help wanted
- Lingua principale
- JavaScript
- Stelle
- 1k
- Fork
- 34
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
(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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.