1.1.1 • Published 11 months ago

@blackglory/pass v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

pass

The dead simple pass statement from Python.

Install

npm install --save @blackglory/pass
# or
yarn add @blackglory/pass

Usage

import { pass } from '@blackglory/pass'

try {
  // ...
} catch {
  pass()
}

Why?

Sometimes you just want to write an empty statement or empty block, but the linter does not allow you to do this.

You don't want to write comments to bypass the linter, because that looks terrible.

API

pass

function pass(): void

passAsync

function passAsync(): Promise<void>