method ObjectConstructor.preventExtensions Private ObjectConstructor.preventExtensions<T>(o: T): T Prevents the addition of new properties to an object. Type Parameters T Parameters o: T Object to make non-extensible. Return Type T