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

1.1.2 • Public • Published

Installation

npm install --save @types/asenv

Summary

This package contains type definitions for asenv (https://github.com/a-labo/asenv#readme).

Details

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

index.d.ts

/// <reference types="node" />

export function getEnv(): string;

export function isDevelopment(): boolean;

export function isProduction(): boolean;

export function isTest(): boolean;

export function setEnv(env: string): void;

export function unlessProduction(handle: () => any): any;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Remisery.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/asenv

Weekly Downloads

4

Version

1.1.2

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • types