You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe the TypeScript build error in the console output
Expected Behavior
The build should complete successfully without TypeScript errors.
Actual Behavior
The build fails with the following TypeScript error:
@liam-hq/cli:build: │4(!) [plugin typescript] src/cli/erdCommand/buildCommand/index.ts (18:5): @rollup/plugin-typescript TS2345: Argument of type '"schemarb" | "postgres" | "prisma" | "tbls" | undefined' is not a…: │ /Users/mh4gf/ghq/github.com/liam-hq/liam/frontend/packages/cli/src/cli/erdCommand/buildCommand/index.ts:18:5
@liam-hq/cli:build: │
@liam-hq/cli:build: │ 18 format,
@liam-hq/cli:build: │ ~~~~~~
Additional Context
The issue is in the function in . The function accepts an optional parameter (), but when it passes this parameter to the function, there's a type mismatch because expects a non-optional parameter.
The type error occurs because the optional parameter (which could be undefined) is being passed to a function that expects a non-optional parameter.
The text was updated successfully, but these errors were encountered:
Version Type
Steps to reproduce
pnpm dev --filter @liam-hq/cli
Expected Behavior
The build should complete successfully without TypeScript errors.
Actual Behavior
The build fails with the following TypeScript error:
Additional Context
The issue is in the function in . The function accepts an optional parameter (), but when it passes this parameter to the function, there's a type mismatch because expects a non-optional parameter.
The type error occurs because the optional parameter (which could be undefined) is being passed to a function that expects a non-optional parameter.
The text was updated successfully, but these errors were encountered: