Skip to content

Commit 05e9063

Browse files
authored
Update @github/text-expander-element, adapt type imports (#33449)
Followup to #33435, upstream issue is fixed so the imports are clean now.
1 parent 5a7b42d commit 05e9063

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@citation-js/plugin-software-formats": "0.6.1",
1111
"@github/markdown-toolbar-element": "2.2.3",
1212
"@github/relative-time-element": "4.4.5",
13-
"@github/text-expander-element": "2.9.0",
13+
"@github/text-expander-element": "2.9.1",
1414
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
1515
"@primer/octicons": "19.14.0",
1616
"@silverwind/vue3-calendar-heatmap": "2.0.6",

web_src/js/features/comp/TextExpander.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {createElementFromAttrs, createElementFromHTML} from '../../utils/dom.ts'
66
import {getIssueColor, getIssueIcon} from '../issue.ts';
77
import {debounce} from 'perfect-debounce';
88
import type TextExpanderElement from '@github/text-expander-element';
9-
import type {TextExpanderChangeEvent, TextExpanderResult} from '@github/text-expander-element/dist/text-expander-element.d.ts';
9+
import type {TextExpanderChangeEvent, TextExpanderResult} from '@github/text-expander-element';
1010

1111
async function fetchIssueSuggestions(key: string, text: string): Promise<TextExpanderResult> {
1212
const issuePathInfo = parseIssueHref(window.location.href);

0 commit comments

Comments
 (0)