Skip to content

Commit

Permalink
Remove unnecessary NonNullable
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonmcconnell committed Feb 9, 2024
1 parent 964b32d commit 209b2c3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/svelte-ux/src/lib/components/DateField.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@
$: actualFormat = format ?? $format_ux.settings.formats.dates.baseParsing ?? 'MM/dd/yyyy';
$: actualMask = mask ?? actualFormat.toLowerCase();
type FieldClasses = NonNullable<ComponentProps<Field>['classes']>;
export let classes: {
root?: FieldClasses['root'];
field?: FieldClasses;
root?: string;
field?: ComponentProps<Field>['classes'];
} = {};
// Field props
Expand Down

0 comments on commit 209b2c3

Please sign in to comment.