Installation
npm install --save @types/angularlocalstorage
Summary
This package contains type definitions for angularlocalstorage (https://github.com/agrublev/angularLocalStorage).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angularlocalstorage.
import * as ng from "angular";
declare module "angular" {
export namespace localStorage {
interface ILocalStorageService {
set(key: string, value: any): any;
get(key: string): any;
remove(key: string): boolean;
clearAll(): void;
bind($scope: ng.IScope, key: string, opts?: {
defaultValue?: any;
storeName?: string | undefined;
}): any;
unbind($scope: ng.IScope, key: string, storeName?: string): void;
}
}
}
Additional Details
- Last updated: Tue, 30 Jan 2024 21:35:45 GMT
- Dependencies: @types/angular
Credits
These definitions were written by Horiuchi_H.