<NME> LayoutProcessor.ts
<BEF> import { LayoutProcessorsStore } from './LayoutProcessorsStore';
import { LayoutProcessor as ILayoutProcessor } from '../interfaces/Processors';
import { Layout } from '../interfaces/Layout';

export class LayoutProcessor {
  constructor(private layoutProcessorsStore: LayoutProcessorsStore) {}

  public process(layout: Layout, commandName: string): Layout {
    const processors: ILayoutProcessor[] = this.layoutProcessorsStore.getProcessors();
    processors.forEach((processor) => {
      layout = processor(layout, commandName);
    });

    return layout;
  }
}

<MSG> Fix option processors (#6428)

* Fix option processors
* Change `commandName` type to `CommandName`

Co-authored-by: Guy Carmeli <8c9c49408bd3a4a9650639faef73211de48a34a2@users.noreply.github.com>
<DFF> @@ -1,11 +1,12 @@
 import { LayoutProcessorsStore } from './LayoutProcessorsStore';
 import { LayoutProcessor as ILayoutProcessor } from '../interfaces/Processors';
 import { Layout } from '../interfaces/Layout';
+import { CommandName } from '../interfaces/CommandName';
 
 export class LayoutProcessor {
   constructor(private layoutProcessorsStore: LayoutProcessorsStore) {}
 
-  public process(layout: Layout, commandName: string): Layout {
+  public process(layout: Layout, commandName: CommandName): Layout {
     const processors: ILayoutProcessor[] = this.layoutProcessorsStore.getProcessors();
     processors.forEach((processor) => {
       layout = processor(layout, commandName);

{'addition_count': 2, 'commit_subject': 'Fix option processors (#6428)', 'deletion_count': 1, 'file_extension': '.ts', 'lang': 'ts', 'license': 'mit', 'repo_name': 'wix/react-native-navigation'}