hunk.code_window:   ValueFromStateGetter<T, TContext, TEvent>
   ];
   export function matchState<T, TContext, TEvent extends EventObject>(
     state: State<TContext, TEvent>,
     patterns: Array<StatePatternTuple<T, TContext, TEvent>>,
     defaultValue: ValueFromStateGetter<T, TContext, TEvent>
   ): T {
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:   state: State<TContext, TEvent> | StateValue,
  
hunk.file_path: src/match.ts
hunk.type: replace
file: {
    "compilerOptions": {
      "allowSyntheticDefaultImports": true,
      "target": "es5",
      "declaration": true,
      "noUnusedLocals": true,
      "noUnusedParameters": true,
      "strictNullChecks": true,
      "outDir": "./lib",
      "moduleResolution": "node",
      "downlevelIteration": true,
      "experimentalDecorators": true,
      "lib": [
        "es6",
        "dom"
      ],
      "types": [
        "mocha",
        "node",
        "core-js"
      ]
    },
    "include": [
      "src/**/*"
    ],
    "exclude": [
      "test/**/*",
      "examples/**/*",
      "editor/node_modules/**/*"
    ]
  }
  