1.1.1 • Published 2 years ago
@blackglory/pass v1.1.1
pass
The dead simple pass statement from Python.
Install
npm install --save @blackglory/pass
# or
yarn add @blackglory/passUsage
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(): voidpassAsync
function passAsync(): Promise<void>