blob: 6f169e85f8b05e2077667ba98c6df88b9ef91aaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
import { nothing } from '../lit-html.js';
/**
* For AttributeParts, sets the attribute if the value is defined and removes
* the attribute if the value is undefined.
*
* For other part types, this directive is a no-op.
*/
export declare const ifDefined: <T>(value: T) => typeof nothing | NonNullable<T>;
//# sourceMappingURL=if-defined.d.ts.map
|