We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got a bunch of errors like:
yarn run v1.22.10 $ ts-node-dev --max-http-header-size=65536 src/index.ts [INFO] 22:40:55 ts-node-dev ver. 1.1.1 (using ts-node ver. 9.1.1, typescript ver. 3.9.7) Compilation error in /home/alex/c2/scholarphi/api/src/db-connection.ts [ERROR] 22:40:57 ⨯ Unable to compile TypeScript: src/db-connection.ts:59:34 - error TS2304: Cannot find name 'LogEntryRow'. 59 async insertLogEntry(logEntry: LogEntryRow) { ~~~~~~~~~~~ src/db-connection.ts:157:27 - error TS2304: Cannot find name 'BoundingBoxRow'. 157 boundingBoxRows: Omit<BoundingBoxRow, "id">[] ~~~~~~~~~~~~~~ src/db-connection.ts:174:35 - error TS2304: Cannot find name 'EntityDataRow'. 174 unpackEntityDataRows(rows: Omit<EntityDataRow, "id">[]) { ~~~~~~~~~~~~~
Fixed by exporting from types/db.ts and importing as such:
types/db.ts
import { LogEntryRow, BoundingBoxRow, EntityDataRow, EntityRow, EntityDataRowType, EntityRowUpdates, } from "./types/db";
PR to follow.
The text was updated successfully, but these errors were encountered:
Fix types version conflict and DB types issue
86d26d0
Closes allenai#198 and allenai#199
No branches or pull requests
Got a bunch of errors like:
Fixed by exporting from
types/db.ts
and importing as such:PR to follow.
The text was updated successfully, but these errors were encountered: