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

Prevents the addition of new properties to an object.

Type Parameters

Parameters

o: T

Object to make non-extensible.

Return Type