Socket
Socket
Sign inDemoInstall

@types/adeira__js

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/adeira__js

TypeScript definitions for @adeira/js


Version published
Weekly downloads
267
decreased by-1.11%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/adeira__js

Summary

This package contains type definitions for @adeira/js (https://github.com/adeira/universe/tree/master/src/js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js.

index.d.ts

// Type definitions for @adeira/js 2.1
// Project: https://github.com/adeira/universe/tree/master/src/js
// Definitions by: Martin Zlámal <https://github.com/mrtnzlml>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.7

type Maybe<T> = null | undefined | T;

export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): asserts condition;

export function isBrowser(): boolean;

export function isNumeric(value: any): boolean;

export function isObject(value: any): boolean;

export function isObjectEmpty(value: any): boolean;

export function nullthrows<T>(x: Maybe<T>, message?: string): T extends null | undefined ? never : T;

export function sprintf(format: string, ...args: ReadonlyArray<any>): string;

export function warning(condition: boolean, format: string, ...args: ReadonlyArray<any>): void;

export function rangeMap<T>(n: number, fn: (i: number) => T): ReadonlyArray<T>;

export {};

Additional Details

  • Last updated: Sat, 03 Jul 2021 14:31:17 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Martin Zlámal.

FAQs

Last updated on 03 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc