"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = warnOnlyOnce;
function warnOnlyOnce(message) {
    // if (!__DEV__) {
    //   return;
    // }
    let run = false;
    return () => {
        if (!run) {
            console.warn(message);
        }
        run = true;
    };
}
//# sourceMappingURL=warnOnlyOnce.js.map