Non enumerable decorator

Decorator that sets the enumerable property of a class field to false.

import { nonenumerable } from 'jodit/src/core/decorators';

class SomeComponent {
@nonenumerable
somePrivateProp: number = 1;

anotherPublicProp: number = 2;
}

const elm = new SomeComponent();
console.log(Object.keys(elm)); // ['anotherPublicProp']

Index

Functions

Jodit PRO

If you like Jodit - try Jodit PRO