@heanfig/ts-utils
v1.2.0
Published
Plugin for TypeScript to support custom decorators and functions
Readme
@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.
References
https://www.npmjs.com/package/memoizee
