Skip to content

Commit

Permalink
Fix Typescript types in UserTable component
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed May 30, 2024
1 parent e647286 commit 5d303a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/lib/components/Users/UserTable.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<script>
<script lang="ts">
import { Button } from '$lib/forms';
import t from '$lib/i18n';
import { AdminIcon, Icon } from '$lib/icons';
import { createEventDispatcher } from 'svelte';
import Dropdown from '../Dropdown.svelte';
import type { User } from '../../../routes/(authenticated)/admin/+page';
export let shownUsers; // TODO: Typescript wants a type here
export let shownUsers: User[];
const dispatch = createEventDispatcher();
</script>
Expand Down

0 comments on commit 5d303a6

Please sign in to comment.