title: Cannot find name 'GlobalCompositeOperation' & Angular Compiler requires TypeScript
body: <p>Same issue than <a href="https://stackoverflow.com/questions/71796111/cannot-find-name-globalcompositeoperation">this post</a>, but when I update to typescript to 4.6, I get:</p>
  <blockquote>
  <p>Error: The Angular Compiler requires TypeScript &gt;=4.4.2 and &lt;4.6.0 but
  4.6.3 was found instead</p>
  </blockquote>
  <p>It is just a matter of updating Angular? My version:</p>
  <pre><code>Angular CLI: 13.2.6
  Node: 16.14.0
  Package Manager: npm 8.3.1
  OS: win32 x64
  
  Angular: 13.2.7
  ... animations, common, compiler, compiler-cli, core, forms
  ... platform-browser, platform-browser-dynamic, router
  
  Package                         Version
  ---------------------------------------------------------
  @angular-devkit/architect       0.1302.6
  @angular-devkit/build-angular   13.2.6
  @angular-devkit/core            13.2.6
  @angular-devkit/schematics      13.2.6
  @angular/cli                    13.2.6
  @schematics/angular             13.2.6
  rxjs                            7.5.5
  typescript                      4.6.3
  </code></pre>
  <p><strong>EDIT:</strong>
  The issues I referred first, with the typescript version 4.5.5 are the following:</p>
  <pre><code>Error: node_modules/tsparticles-engine/types/Options/Classes/BackgroundMask/BackgroundMask.d.ts:6:16 - error TS2304: Cannot find name 'GlobalCompositeOperation'.
  
  6     composite: GlobalCompositeOperation;
                   ~~~~~~~~~~~~~~~~~~~~~~~~
  
  
  Error: node_modules/tsparticles-engine/types/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts:4:16 - error TS2304: Cannot find name 'GlobalCompositeOperation'.
  
  4     composite: GlobalCompositeOperation;
                   ~~~~~~~~~~~~~~~~~~~~~~~~
  
  
  Error: node_modules/tsparticles-engine/types/Utils/CanvasUtils.d.ts:19:201 - error TS2304: Cannot find name 'GlobalCompositeOperation'.
  
  19 export declare function drawParticle(container: Container, context: CanvasRenderingContext2D, particle: IParticle, delta: IDelta, colorStyles: IParticleColorStyle,backgroundMask: boolean, composite: GlobalCompositeOperation, radius: number, opacity: number, shadow: IShadow): void;
     
                                      ~~~~~~~~~~~~~~~~~~~~~~~~
  
  
  
  
  × Failed to compile.
  </code></pre>