title: How to use files with multiple extensions with Prettier?
body: <p>I have following <a href="https://github.com/prettier/prettier" rel="noreferrer"><strong>Prettier</strong></a> commands:</p>
  
  <pre><code>prettier --parser typescript --write ./src/**/*.ts
  prettier --parser typescript --write ./src/**/*.tsx
  </code></pre>
  
  <p>I would like to <strong>merge them to single one</strong> - use some king of regex to listen (write) on both <code>.ts</code> and also <code>.tsx</code> extensions.</p>
  
  <p>Something like:</p>
  
  <pre><code>prettier --write ./src/**/*.ts(x?)
  </code></pre>