mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
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:
+4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user