Skip to content

Commit

Permalink
default-to-undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe committed Apr 17, 2024
1 parent e159c43 commit acef523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uui-base/lib/mixins/FormControlMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ interface Validator {
export const UUIFormControlMixin = <
ValueType = FormDataEntryValue | FormData,
T extends Constructor<LitElement> = typeof LitElement,
DefaultValueType = unknown,
DefaultValueType = undefined,
>(
superClass: T,
defaultValue: DefaultValueType,
defaultValue: DefaultValueType = undefined as DefaultValueType,
) => {
abstract class UUIFormControlMixinClass extends superClass {
/**
Expand Down

0 comments on commit acef523

Please sign in to comment.