decord/source/1599_get options.js

19 lines
431 B
JavaScript
Raw Normal View History

2026-08-11 06:20:06 +00:00
// Module ID: 1599
// Function ID: 1600
2026-08-06 08:05:19 +00:00
// Name: get options
// Dependencies: [19]
2026-08-11 06:20:06 +00:00
// Module 1599 (get options)
2026-08-06 08:05:19 +00:00
const obj = {};
Object.defineProperty(obj, "options", {
get: () => {
const error = new Error("Couldn't find a LinkingContext context.");
throw error;
},
set: undefined
});
const context = require("noop").createContext(obj);
context.displayName = "LinkingContext";
export const LinkingContext = context;