mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
* Add `target: "es2022"`
* Add Object.hasOwn
* formatToParts is es2018
* ref update
* optional parameter
* Revert "optional parameter"
This reverts commit e67d6e5f60.
* undefined
* error cause
* Lint fix
Co-authored-by: Orta <git@orta.io>
9 lines
229 B
TypeScript
9 lines
229 B
TypeScript
interface Object {
|
|
/**
|
|
* Determines whether an object has a property with the specified name.
|
|
* @param o An object.
|
|
* @param v A property name.
|
|
*/
|
|
hasOwn(o: object, v: PropertyKey): boolean;
|
|
}
|