1.2.0 • Published 3 years ago
@heanfig/ts-utils v1.2.0
@heanfig/ts-utils
Fast, generic typescript/angular utility functions.
Install with npm
$ npm i @heanfig/ts-utils --save
@Memoize Decorator
Wrapper for memoizee package https://www.npmjs.com/package/memoizee
Basic Import
import { Memoize } from '@heanfig/ts-utils';
using in component
export class DemoComponent {
@Memoize()
public getRandomInt(value:number): number {
return value ** 34;
}
}
¿ Whats next ?
To get more help contact me or see.