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.
This commit is contained in:
Igor Lino
2018-06-10 14:27:04 +02:00
committed by GitHub
parent 42e514d82c
commit f3ec99dffb
+4
View File
@@ -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 {