first commit
This commit is contained in:
14
node_modules/lit-html/directives/if-defined.d.ts
generated
vendored
Normal file
14
node_modules/lit-html/directives/if-defined.d.ts
generated
vendored
Normal file
@@ -0,0 +1,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
|
Reference in New Issue
Block a user