Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinejaussoin committed Oct 17, 2024
1 parent 381294f commit 2385dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/self-hosting/quick-start/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { FieldToggle } from './Toggle';
import { Accordion } from './Accordion';

function getRandomPassword() {
return generate(4).join('-');
return (generate(4) as string[]).join('-');
}

export default function Editor() {
Expand Down

0 comments on commit 2385dec

Please sign in to comment.