"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createThunk = void 0;
var _cjs = require("redux-thunks/cjs");
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */

// @ts-expect-error untyped dependency

// This declaration exists because redux-thunks is not typed, and has a dependency on
// Canvas State.  Therefore, creating a wrapper that strongly-types the function-- and creates
// a single point of replacement, should the need arise-- is a nice workaround.
const createThunk = _cjs.createThunk;
exports.createThunk = createThunk;