method ObjectConstructor.seal
Private
ObjectConstructor.seal<T>(o: T): T

Prevents the modification of attributes of existing properties, and prevents the addition of new properties.

Type Parameters

Parameters

o: T

Object on which to lock the attributes.

Return Type