@types/angularlocalstorage
TypeScript icon, indicating that this package has built-in type declarations

0.1.37 • Public • Published

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.

index.d.ts

/// <reference types="angular"/>

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/angularlocalstorage

Weekly Downloads

1,094

Version

0.1.37

License

MIT

Unpacked Size

3.9 kB

Total Files

5

Last publish

Collaborators

  • types