npm.io
1.3.3 • Published 2 years ago

@types/react-global-configuration

Licence
MIT
Version
1.3.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0

Installation

npm install --save @types/react-global-configuration

Summary

This package contains type definitions for react-global-configuration (https://github.com/morenofa/react-global-configuration#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-global-configuration.

index.d.ts

export interface Options {
    freeze: boolean;
    assign: boolean;
}

export function set(newConfiguration: any, newOptions?: Options): void;
export function get(key?: string): any;
export function get<Value = any>(key: string, fallbackValue: Value): Value;
export function serialize(): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Ryo Kikuchi.