Skip to content

Commit

Permalink
ts addition in lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
arnold-pichler committed Sep 7, 2024
1 parent 6e3208e commit 9989327
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/composables/useLookUps.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ for (let k in kulturenItems) {
kulturenItems[k].splice(0, 0, { title: 'Keine', value: '' });
}

/**
* @type Object lookup
*/
export const lookup = reactive({
yearItems: yearItems,
ackerzahlItems: ackerzahlItems,
Expand All @@ -138,6 +141,9 @@ export const lookup = reactive({
entzugstabelleBraugerste,
});

/**
* @returns {{ lookup: Object }}
*/
export function useLookup() {
return { lookup };
}

0 comments on commit 9989327

Please sign in to comment.