Type alias ParserRule<OriObjectType, TargetDataType, ExDataType, ParserType>
ParserRule<OriObjectType, TargetDataType, ExDataType, ParserType>: { exDataType?: ExDataType; oriObjectType: OriObjectType; parserType: ConstructorType<ParserType>; targetDataType: TargetDataType }
Type Parameters
-
OriObjectType extends Object = Object
-
TargetDataType extends Record<string, any> = Record<string, any>
-
ExDataType = any
-
Type declaration
-
Optional
exDataType?: ExDataType
-
oriObjectType: OriObjectType
-
parserType: ConstructorType<ParserType>
-
targetDataType: TargetDataType
create a parser rule type
Example