Skip to content

Commit 7095c25

Browse files
committed
progress on new parser
1 parent 74c4a60 commit 7095c25

File tree

6 files changed

+737
-88
lines changed

6 files changed

+737
-88
lines changed

src/inputFieldArguments/AbstractInputFieldArgument.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export abstract class AbstractInputFieldArgument {
77
requiresValue: boolean = false;
88
allowMultiple: boolean = false;
99

10-
abstract parseValue(value: any): void;
10+
abstract parseValue(value: string): void;
1111

1212
isAllowed(inputFieldType: InputFieldType): boolean {
1313
if (this.allowedInputFields.length === 0) {

src/parsers/InputFieldDeclarationParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export class InputFieldDeclarationParser {
243243

244244
parseArguments(
245245
inputFieldType: InputFieldType,
246-
inputFieldArguments: { type: InputFieldArgumentType; value: any }[] | undefined,
246+
inputFieldArguments: { type: InputFieldArgumentType; value: string }[] | undefined,
247247
errorCollection: ErrorCollection
248248
): InputFieldArgumentContainer {
249249
const argumentContainer: InputFieldArgumentContainer = new InputFieldArgumentContainer();

0 commit comments

Comments
 (0)