Skip to content

Commit 470e00a

Browse files
committed
chore(style-picker): resolve format errors
1 parent b8f6e28 commit 470e00a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/web-components/src/components/style-picker/components/style-picker-modules/src/style-picker-modules.template.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
* LICENSE file in the root directory of this source tree.
88
*/
99

10-
import { html } from 'lit';
10+
import { html, TemplateResult } from 'lit';
1111

1212
/**
1313
* Lit template for card
1414
*
1515
* @param {object} customElementClass Class functionality for the custom element
1616
* @returns {TemplateResult<1>} Lit html template
1717
*/
18-
export const stylePickerModulesTemplate = () => {
18+
export const stylePickerModulesTemplate = (): TemplateResult<1> => {
1919
return html`<slot></slot>`;
2020
};

packages/web-components/src/components/style-picker/components/style-picker-modules/style-picker-modules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CLABSStylePickerModules extends StylePickerModules {
3535
* @returns {TemplateResult<1>}
3636
*/
3737
render() {
38-
return stylePickerModulesTemplate(this);
38+
return stylePickerModulesTemplate();
3939
}
4040
}
4141

0 commit comments

Comments
 (0)