title: TS2339: Property does not exist on type {}
body: <p>Please help me fix this compilation error.</p>
  
  <p>Below you can see the compiler complaining that the <strong>Actions</strong> object on line 20 (I removed a few lines for clarity before posting this) is {}:
  <a href="https://i.stack.imgur.com/cA3e1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cA3e1.png" alt="enter image description here"></a> </p>
  
  <p>But below you can see in <strong>actions.ts</strong> that <strong>Actions</strong> is an object of type <strong>Actions</strong>, and it has the requested property (which is a function):
  <a href="https://i.stack.imgur.com/A9BA0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A9BA0.png" alt="enter image description here"></a></p>
  
  <p>And in the base code you can see in the DefinitelyTyped <strong>Alt</strong> definition that <strong>createActions</strong> should return an object of type <strong>Actions</strong>:
  <a href="https://i.stack.imgur.com/Zxeg3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zxeg3.png" alt="enter image description here"></a></p>
  
  <p>So why is Typescript complaining that Actions is not of type Actions?</p>