Skip to content

Commit c57a1c8

Browse files
committed
use a const assertion
1 parent b861df0 commit c57a1c8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

ai/ai-react-app/src/config/personas.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
export interface Persona {
2-
id: string;
3-
name: string;
4-
systemInstruction: string;
5-
}
6-
7-
export const PREDEFINED_PERSONAS: Persona[] = [
1+
export const PREDEFINED_PERSONAS = [
82
{
93
id: "default",
104
name: "Default",
@@ -39,4 +33,4 @@ export const PREDEFINED_PERSONAS: Persona[] = [
3933
name: "Custom...",
4034
systemInstruction: "",
4135
},
42-
];
36+
] as const;

0 commit comments

Comments
 (0)