(context)
| 69 | } |
| 70 | |
| 71 | function defineImportAssertionAlias(context) { |
| 72 | return ObjectDefineProperty(context, 'importAssertions', { |
| 73 | __proto__: null, |
| 74 | configurable: true, |
| 75 | get() { |
| 76 | emitImportAssertionWarning(); |
| 77 | return this.importAttributes; |
| 78 | }, |
| 79 | set(value) { |
| 80 | emitImportAssertionWarning(); |
| 81 | return ReflectSet(this, 'importAttributes', value); |
| 82 | }, |
| 83 | }); |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * @typedef {object} ExportedHooks |