Añadir index.d.ts

This commit is contained in:
2026-05-09 13:17:27 +02:00
parent 9cb6248ed0
commit 73f69c4cd2

7
index.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
export interface EditorProps {
value?: string | (() => string);
class?: string;
onchange?: (val: string) => void;
}
export const Editor: (props: EditorProps) => HTMLElement;