title: How to use createSelector with parameter and Typescript?
body: <p>I use <code>redux-toolkit</code> to <a href="https://redux-toolkit.js.org/usage/usage-guide#using-selectors-with-createentityadapter" rel="noreferrer">generate selectors</a>. I want to use them in my own custom <code>reselect</code> selectors with parameters. But I do not know how to type the return type of my selector?</p>
  <pre><code>const selectOrganizationName = (id: string): ??? =&gt;
    createSelector(
      [(state: RootState) =&gt; organizationSelectors.selectById(state, id)],
      organization =&gt; organization.name
    );
  
  export default selectOrganizationName;
  </code></pre>
  <pre><code>Missing return type on function.eslint@typescript-eslint/explicit-module-boundary-types
  </code></pre>