Skip to content

Commit 8bc7e75

Browse files
Updating types
1 parent 2795ec3 commit 8bc7e75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type TimeOpened = Date | null;
2424

2525
// -------------------------------------------------- Props //
2626
export interface SharedProps {
27-
apiRoute?: string;
27+
apiRoute?: string | undefined;
2828
autofocus?: boolean;
2929
cancelButtonColor?: VBtn['$props']['color'];
3030
cancelButtonSize?: VBtn['$props']['size'];
@@ -54,6 +54,7 @@ export interface SharedProps {
5454
loadingIcon?: string;
5555
loadingIconColor?: string;
5656
method?: string;
57+
// TODO: Change this to optional. Throw error if using apiRoute and not providing a name. //
5758
name: string;
5859
required?: boolean;
5960
saveButtonColor?: VBtn['$props']['color'];
@@ -63,7 +64,6 @@ export interface SharedProps {
6364
saveIcon?: string;
6465
saveIconColor?: string;
6566
trueValue?: boolean | string;
66-
truncateDisplayValue?: number | undefined;
6767
truncateLength?: number | undefined;
6868
truncateSuffix?: string | undefined;
6969
underlineColor?: string;

0 commit comments

Comments
 (0)