An interface is just a function signature. Perhaps it might be easier for you to think about as just a function:
type MoviesApi = void => List[Movie]
I guess the difference is the tracking?An interface is just a function signature. Perhaps it might be easier for you to think about as just a function:
type MoviesApi = void => List[Movie]
I guess the difference is the tracking?