@typescript-deploys/pr-build 5.0.0-pr-52317-22 → 5.0.0-pr-51524-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/lib.es5.d.ts CHANGED
@@ -227,7 +227,13 @@ interface ObjectConstructor {
227
227
  * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
228
228
  * @param o Object on which to lock the attributes.
229
229
  */
230
- freeze<const T>(o: T): Readonly<T>;
230
+ freeze<T extends {[idx: string]: U | null | undefined | object}, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
231
+
232
+ /**
233
+ * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
234
+ * @param o Object on which to lock the attributes.
235
+ */
236
+ freeze<T>(o: T): Readonly<T>;
231
237
 
232
238
  /**
233
239
  * Prevents the addition of new properties to an object.