Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@blackglory/pass

BlackGlory3.7kMIT1.1.1TypeScript support: included

The dead simple pass statement from Python.

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>

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.1 (2023-06-11)

Bug Fixes

1.1.0 (2022-08-29)

Features

1.0.1 (2022-08-01)

1.0.0 (2022-03-05)

0.1.0 (2021-12-04)

Features