@blackglory/pass
v1.1.1
Published
The dead simple `pass` statement from Python.
Downloads
6,484
Readme
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>