Skip to content

Commit

Permalink
fix(lib): tune types in explain
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Jul 31, 2024
1 parent 2ab3e15 commit 7fc1882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/if-run/lib/explain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const addExplainData = (params: ExplainParams) => {
const {pluginName, pluginData, metadata} = params;
const plugin = {
[pluginName]: {
method: pluginData.method,
path: pluginData.path,
method: pluginData!.method,
path: pluginData!.path,
inputs: metadata?.inputs || 'undefined',
outputs: metadata?.outputs || 'undefined',
},
Expand Down

0 comments on commit 7fc1882

Please sign in to comment.