From f3ec99dffb983cc8b9e0a7e446210c06e48d5ddd Mon Sep 17 00:00:00 2001 From: Igor Lino Date: Sun, 10 Jun 2018 14:27:04 +0200 Subject: [PATCH] angular-local-storage: Improve main types visibility Use the same export pattern as angular-ui-boostrap. Its nearly the same, but in older typescript projects works its the only way to get those visible for importing. --- types/angular-local-storage/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/angular-local-storage/index.d.ts b/types/angular-local-storage/index.d.ts index 76ab65b1b5..6e8c64416a 100644 --- a/types/angular-local-storage/index.d.ts +++ b/types/angular-local-storage/index.d.ts @@ -8,6 +8,10 @@ import * as angular from 'angular'; +export type ILocalStorageServiceProvider = angular.local.storage.ILocalStorageServiceProvider; +export type ILocalStorageService = angular.local.storage.ILocalStorageService; +export type ICookie = angular.local.storage.ICookie; + declare module 'angular' { export namespace local.storage { interface ILocalStorageServiceProvider extends angular.IServiceProvider {