fix: add TypeScript declaration for altcha-widget custom element

This commit is contained in:
Patrick Britton 2026-02-16 23:29:19 -06:00
parent d190afbd19
commit 9f33cc1e8a

9
admin/src/types/altcha.d.ts vendored Normal file
View file

@ -0,0 +1,9 @@
declare namespace JSX {
interface IntrinsicElements {
'altcha-widget': {
challengeurl?: string;
hidefooter?: string;
hidelogo?: string;
};
}
}