decord/source/1600_get options.js

19 lines
431 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1600
// Function ID: 1601
2026-08-06 08:05:19 +00:00
// Name: get options
// Dependencies: [19]
2026-08-15 05:55:55 +00:00
// Module 1600 (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;