license import * as Redux from "redux" ; import { Dispatch , Middleware } from "../index" ; describe ( "Redux shape matching" , ( ) => { describe ( "Middleware" , ( ) => { it ( "should be assignable to Redux.Middleware" , ( ) => { const middleware = undefined ! ; const reduxMiddleware = middleware ; [ middleware , reduxMiddleware ] ; } ) ; it ( "should be assignable from Redux.Middleware" , ( ) => { const reduxMiddleware = undefined ! ; const middleware = reduxMiddleware ; [ middleware , reduxMiddleware ] ; } ) ; } ) ; describe ( "Dispatch" , ( ) => { it ( "should be assignable to Redux.Dispatch" , ( ) => { const dispatch = undefined ! ; const reduxDispatch = dispatch ; [ dispatch , reduxDispatch ] ; } ) ; it ( "should be assignable from Redux.Dispatch" , ( ) => { const reduxDispatch = undefined ! ; const dispatch = reduxDispatch ; [ dispatch , reduxDispatch ] ; } ) ; } ) ; } ) ;