title: Syntax error: Unexpected token, expected "," (24:9) in Async and await
body: <p>Recently i have started learning React with Typescript. I am trying to write actions with async and await. but it showing error <code>Unexpected token, expected "," (24:9)</code></p>
  
  <p>index.js</p>
  
  <pre><code>import axios from "axios";
  import { Dispatch } from "redux";
  import { ActionTypes } from "./types"
  
  export interface ToDo {
    company_name: string,
    created_at: Date,
    description: string,
    featured: boolean,
      hashid: string,
      location: string,
      remote: boolean,
      term: null,
      title: string,
      updated_at: string,
      url: string
  }
  
  export interface FetchTodoActions{
    type: ActionTypes.fetchTodos,
    payload: ToDo[]
  }
  export const fetchTodos = ({
    return async(dispatch:Dispatch)=&gt; {
       const response = await axios.get&lt;ToDo[]&gt;('https://codepen.io/jobs.json');
        dispatch&lt;FetchTodoActions&gt;({
        type: ActionTypes.fetchTodos,
        payload: response.data
      })
    }
  })
  
  </code></pre>
  
  <p>package.json:</p>
  
  <pre><code>{
    "name": "react-ts",
    "version": "1.0.0",
    "description": "",
    "keywords": [],
    "main": "src/index.tsx",
    "dependencies": {
      "@babel/plugin-transform-runtime": "7.8.0",
      "@babel/preset-env": "7.8.2",
      "@babel/runtime": "7.8.0",
      "@types/react-redux": "7.1.5",
      "axios": "0.19.1",
      "react": "16.8.4",
      "react-dom": "16.8.4",
      "react-redux": "7.1.3",
      "react-scripts": "2.1.3",
      "redux": "4.0.5",
      "redux-thunk": "2.3.0"
    },
    "devDependencies": {
      "@types/react": "16.8.8",
      "@types/react-dom": "16.8.2",
      "typescript": "3.3.3"
    },
    "scripts": {
      "start": "react-scripts start",
      "build": "react-scripts build",
      "test": "react-scripts test --env=jsdom",
      "eject": "react-scripts eject"
    },
    "babel": {
      "presets": [
        [
          "@babel/preset-env",
          {
            "targets": {
              "browsers": ["&gt;0.25%", "not ie 11", "not op_mini all"]
            }
          }
        ],
        "@babel/preset-react"
      ],
      "plugins": ["@babel/plugin-transform-runtime"]
    },
    "browserslist": ["&gt;0.2%", "not dead", "not ie &lt;= 11", "not op_mini all"]
  }
  
  </code></pre>
  
  <p>I am sharing link for codesandbox which i have implemented:</p>
  
  <p><a href="https://codesandbox.io/s/ecstatic-river-bpc6y" rel="nofollow noreferrer">https://codesandbox.io/s/ecstatic-river-bpc6y</a></p>
  
  <p>Please help me with this.</p>