title: Problem in flex-layout comes when ran ng serve
body: <p>sorry I tried what this <a href="https://github.com/angular/flex-layout/issues/702" rel="noreferrer">link</a> say me to do but nothing got changed someone could help me pls.
  Console of error</p>
  
  <hr>
  
  <p>ERROR in node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(25,15): error TS2416: Property '<em>registry' in type 'MockMatchMedia' is not assignable to the same property in base type 'MatchMedia'.
        Type 'Map' is not assignable to type 'Map'.
          Type 'MockMediaQueryList' is not assignable to type 'MediaQueryList'.
            Types of property 'removeListener' are incompatible.
              Type '(</em>: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
                Types of parameters '_' and 'listener' are incompatible.
                  Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
                    Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
                      Property 'handleEvent' is missing in type 'MediaQueryListListener'.
      node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(82,5): error TS2416: Property 'removeListener' in type 'MockMediaQueryList' is not assignable to the same property in base type 'MediaQueryList'.
        Type '(<em>: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
          Types of parameters '</em>' and 'listener' are incompatible.
            Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
              Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
      node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(83,38): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(83,99): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(84,41): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(84,102): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(95,67): error TS2304: Cannot find name 'MediaQueryListEvent'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(30,5): error TS2416: Property 'removeListener' in type 'ServerMediaQueryList'
      is not assignable to the same property in base type 'MediaQueryList'.
        Type '(<em>: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
          Types of parameters '</em>' and 'listener' are incompatible.
            Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
              Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(31,38): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(31,99): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(32,41): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(32,102): error TS2304: Cannot find name 'MediaQueryListEventMap'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(46,15): error TS2416: Property '<em>registry' in type 'ServerMatchMedia' is not assignable to the same property in base type 'MatchMedia'.
        Type 'Map' is not assignable to type 'Map'.
          Type 'ServerMediaQueryList' is not assignable to type 'MediaQueryList'.
            Types of property 'removeListener' are incompatible.
              Type '(</em>: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
                Types of parameters '_' and 'listener' are incompatible.
                  Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
                    Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(58,15): error TS2416: Property '_buildMQL' in type 'ServerMatchMedia' is not assignable to the same property in base type 'MatchMedia'.
        Type '(query: string) => ServerMediaQueryList' is not assignable to type '(query: string) => MediaQueryList'.
          Type 'ServerMediaQueryList' is not assignable to type 'MediaQueryList'.
      node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(60,67): error TS2304: Cannot find name 'MediaQueryListEvent'.</p>