angular.module('fbMocks') .factory('cacheService', [function ( ): fb.ICacheService { var getCache = function (id: string, options: any){ return { get: function (id: string) { return null; } }; }; var cleanCache = function () { return } var emptyCache = function () { return } return { getCache: getCache, cleanCache: cleanCache, emptyCache: emptyCache }; }]);