1.0.1 • Published 5 years ago
@topl/simon v1.0.1
simon
installation
npm install @topl/simon
api
simon is a collection of simple decorators.
memoized
currently the only decorator in this collection. It memoizes the result of a getter.
class Subject {
@memoized
get expensiveResult(): string {
return 88 ** 8;
}
}
license
See LICENSE