---
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/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/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`
