Initial commit: Copilot Toolbox template project
This commit is contained in:
8
src/utils/polyfills.ts
Normal file
8
src/utils/polyfills.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
if (!Object.hasOwn) {
|
||||
Object.defineProperty(Object, 'hasOwn', {
|
||||
value: function(obj: any, prop: string): boolean {
|
||||
return Object.prototype.hasOwnProperty.call(obj, prop)
|
||||
},
|
||||
configurable: true
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user