fix typings for initial partial config

Signed-off-by: dswbx <dennis.senn@gmx.ch>
This commit is contained in:
dswbx
2024-12-05 20:48:49 +01:00
parent 7e990feb99
commit ba517feab5
2 changed files with 4 additions and 3 deletions

View File

@@ -236,8 +236,8 @@ export abstract class Field<
toJSON() {
return {
//name: this.name,
type: this.type,
// @todo: current workaround because of fixed string type
type: this.type as any,
config: this.config
};
}