We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33add2f + 2eb887a commit 94b90a2Copy full SHA for 94b90a2
1 file changed
src/components/FormBuilder.ts
@@ -24,7 +24,7 @@ type SyncValidator = (value: string) => string;
24
25
type AsyncValidator = (value: string) => Promise<string>;
26
27
-export default class FormBuilder {
+class FormBuilder {
28
private fields: TemplateResult[] = [];
29
30
private validateFunctions: Map<string, SyncValidator> = new Map();
@@ -221,4 +221,7 @@ export default class FormBuilder {
221
getFields() {
222
return this.fields;
223
}
224
-}
+}
225
+
226
+export default FormBuilder;
227
+export { FormBuilder };
0 commit comments