Skip to content

Commit 9abc21e

Browse files
⚡ Add type info
1 parent 75fece8 commit 9abc21e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/class/HTMLCodeBlockElement.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ export default class HTMLCodeBlockElement extends HTMLElement {
1818
static highlight(
1919
src: string,
2020
options: HighlightOptions,
21-
) {
21+
): {
22+
value: string,
23+
} {
2224
const {endgine} = HTMLCodeBlockElement;
2325

2426
if (!endgine) {

0 commit comments

Comments
 (0)