Thanks for your answer, i was using the same example before. The problem actually was in the typescript definitions. You will share that if someone else find same problem.
This is what I changed to have it working. frame? : number | number[] | string | string[] | Phaser.Textures.Frame | Phaser.Textures.Frame[] | ParticleEmitterFrameConfig; // frames?: number | number[] | string | string[] | Phaser.Textures.Frame | Phaser.Textures.Frame[] | ParticleEmitterFrameConfig;