We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb75e4c commit edb4c69Copy full SHA for edb4c69
app/stores/namelist.ts
@@ -39,7 +39,7 @@ export const useNamelistStore = defineStore('namelist', {
39
*/
40
add(
41
name: string = generateNewNamelistName(),
42
- options?: RollCallOption[] = structuredClone(DEFAULT_NAMELIST_OPTIONS),
+ options: RollCallOption[] = structuredClone(DEFAULT_NAMELIST_OPTIONS),
43
) {
44
const namelist = createNamelist(name, options);
45
this.data.push(namelist);
0 commit comments