Skip to content

Commit 94b90a2

Browse files
lorenloren
authored andcommitted
Merge remote-tracking branch 'origin/main'
2 parents 33add2f + 2eb887a commit 94b90a2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/FormBuilder.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type SyncValidator = (value: string) => string;
2424

2525
type AsyncValidator = (value: string) => Promise<string>;
2626

27-
export default class FormBuilder {
27+
class FormBuilder {
2828
private fields: TemplateResult[] = [];
2929

3030
private validateFunctions: Map<string, SyncValidator> = new Map();
@@ -221,4 +221,7 @@ export default class FormBuilder {
221221
getFields() {
222222
return this.fields;
223223
}
224-
}
224+
}
225+
226+
export default FormBuilder;
227+
export { FormBuilder };

0 commit comments

Comments
 (0)