import { makeObservable, isObservable } from 'mobx';
/**
 * Safely calls makeObservable, preventing errors if the object
 * has already been made observable (e.g., in React Strict Mode or HMR)
 */
export const safelyMakeObservable = (target, annotations, options) => {
    if (isObservable(target)) {
        return target;
    }
    return makeObservable(target, annotations, options);
};
//# sourceMappingURL=safelyMakeObservable.js.map