---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cli](../index.md) / WarnFn

# Type Alias: WarnFn()

> **WarnFn** = (`message`) => `void`

Defined in: [packages/b2c-tooling-sdk/src/cli/columns.ts:64](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d9cf11cf4a11828e783aed6313f5ea49990488ff/packages/b2c-tooling-sdk/src/cli/columns.ts#L64)

Function that emits a non-fatal warning. Pass `this.warn.bind(this)` when
calling from a command, or any plain logger callback otherwise.

## Parameters

### message

`string`

## Returns

`void`
