0.1.37 • Published 3 months ago

@types/angularlocalstorage v0.1.37

Weekly downloads
116
License
MIT
Repository
github
Last release
3 months ago

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

// Type definitions for AngularLocalStorage 0.1.7
// Project: https://github.com/agrublev/angularLocalStorage
// Definitions by: Horiuchi_H <https://github.com/horiuchi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <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: Wed, 07 Jul 2021 21:44:24 GMT
  • Dependencies: @types/angular
  • Global values: none

Credits

These definitions were written by Horiuchi_H.

0.1.37

3 months ago

0.1.34

8 months ago

0.1.35

7 months ago

0.1.36

6 months ago

0.1.33

3 years ago

0.1.32

7 years ago

0.1.31

7 years ago

0.1.30

8 years ago

0.1.29

8 years ago

0.1.28-alpha

8 years ago

0.1.27-alpha

8 years ago

0.1.25-alpha

8 years ago

0.1.24-alpha

8 years ago

0.1.23-alpha

8 years ago

0.1.22-alpha

8 years ago

0.1.21-alpha

8 years ago

0.1.20-alpha

8 years ago

0.1.15-alpha

8 years ago

0.1.14-alpha

8 years ago