assert typelinks wont be null
This commit is contained in:
parent
9c0ec928e6
commit
80a23cb66f
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ const shikiCopyButton: ShikiTransformer = {
|
||||||
"alia-live": "polite",
|
"alia-live": "polite",
|
||||||
"data-code": this.source.replace(
|
"data-code": this.source.replace(
|
||||||
/TYPE99(\w+.)99TYPE/g,
|
/TYPE99(\w+.)99TYPE/g,
|
||||||
(_full: string, match: string) => getQMLTypeLinkObject(match).name,
|
(_full: string, match: string) => getQMLTypeLinkObject(match)!.name!,
|
||||||
),
|
),
|
||||||
onclick: `
|
onclick: `
|
||||||
navigator.clipboard.writeText(this.dataset.code);
|
navigator.clipboard.writeText(this.dataset.code);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue