Skip to content

Commit

Permalink
chore: fix types after merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed May 16, 2024
1 parent 5fc04b0 commit 505922a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MetaKG from '@biothings-explorer/smartapi-kg';
import MetaKG, { SmartAPIQueryResult } from '@biothings-explorer/smartapi-kg';
import path from 'path';
import QueryGraph from './query_graph';
import KnowledgeGraph from './graph/knowledge_graph';
Expand Down Expand Up @@ -73,7 +73,7 @@ export default class TRAPIQueryHandler {
async findUnregisteredAPIs() {
const configListAPIs = this.options.apiList['include'];

let smartapiRegistry;
let smartapiRegistry: SmartAPIQueryResult;
if (this.options.smartapi) {
smartapiRegistry = this.options.smartapi;
} else {
Expand Down

0 comments on commit 505922a

Please sign in to comment.