Skip to content

Commit

Permalink
feat-fix: fixed typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasPietzschmann committed Sep 12, 2024
1 parent 72dedc3 commit 2cb8be4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/steps/all/core/00-parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { RShellExecutor } from '../../../../r-bridge/shell-executor'
import type { RShell } from '../../../../r-bridge/shell'
import type { RParseRequest, RParseRequests } from '../../../../r-bridge/retriever'
import { retrieveParseDataFromRCode } from '../../../../r-bridge/retriever'
import type { QuadSerializationConfiguration } from '../../../../util/quads'

export interface ParseRequiredInput {
/** This is the {@link RShell} or {@link RShellExecutor} connection to be used to obtain the original parses AST of the R code */
Expand Down Expand Up @@ -34,7 +35,7 @@ export const PARSE_WITH_R_SHELL_STEP = {
printer: {
[StepOutputFormat.Internal]: internalPrinter,
[StepOutputFormat.Json]: text => text[0],
[StepOutputFormat.RdfQuads]: (text, config) => parseToQuads(text[0], config)
[StepOutputFormat.RdfQuads]: (text, config: QuadSerializationConfiguration) => parseToQuads(text[0], config)
},
dependencies: [],
requiredInput: undefined as unknown as ParseRequiredInput
Expand Down

0 comments on commit 2cb8be4

Please sign in to comment.