Skip to content

Commit 2d705a3

Browse files
authored
fix: fix function signature issue (#3765)
1 parent 4cadc4a commit 2d705a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flows/context/flow.query.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface FlowQueryContextType {
2828
generateMap: () => Stage[]
2929
printMap: (id?: string) => void
3030
query: (text: string, override?: QueryScope) => Promise<FluxResult>
31-
basic: (text: string) => any
31+
basic: (text: string, override?: QueryScope) => any
3232
simplify: (text: string) => string
3333
queryAll: () => void
3434
queryDependents: (startID: string) => void
@@ -40,7 +40,7 @@ export const DEFAULT_CONTEXT: FlowQueryContextType = {
4040
generateMap: () => [],
4141
printMap: () => {},
4242
query: (_: string, __: QueryScope) => Promise.resolve({} as FluxResult),
43-
basic: (_: string) => {},
43+
basic: (_: string, __?: QueryScope) => {},
4444
simplify: (_: string) => '',
4545
queryAll: () => {},
4646
queryDependents: () => {},

0 commit comments

Comments
 (0)