20 lines
455 B
JavaScript
20 lines
455 B
JavaScript
// Module ID: 1600
|
|
// Function ID: 1601
|
|
// Name: get options
|
|
// Dependencies: [19]
|
|
|
|
// Module 1600 (get options)
|
|
import noopAll from "noop" /* 19 */;
|
|
|
|
const obj = {};
|
|
Object.defineProperty(obj, "options", {
|
|
get: () => {
|
|
error = new Error("Couldn't find a LinkingContext context.");
|
|
throw error;
|
|
},
|
|
set: undefined
|
|
});
|
|
const context = noopAll.createContext(obj);
|
|
context.displayName = "LinkingContext";
|
|
|
|
export const LinkingContext = context;
|