Conversation
There was a problem hiding this comment.
Bug: TypeScript Definition Mismatch Causes Runtime Errors
The tqfp function has a parameter interface mismatch. Its TypeScript definition declares parameters ('h', 'pl', 'pw') that are incompatible with its implementation, which directly calls qfp. The qfp function expects a different set of parameters ('p', 'id', 'od', 'wide', 'narrow'). This inconsistency, caused by tqfp_def reusing qfp_def, leads to runtime validation errors when tqfp is called with parameters valid by its type but not supported by qfp.
src/fn/tqfp.ts#L4-L10
Lines 4 to 10 in 090ea21
src/footprinter.ts#L114-L115
footprinter/src/footprinter.ts
Lines 114 to 115 in 090ea21
BugBot free trial expires on July 22, 2025
You have used $0.00 of your $50.00 spend limit so far. Manage your spend limit in the Cursor dashboard.
Was this report helpful? Give feedback by reacting with 👍 or 👎
Summary
tqfpfootprint implementationtqfpin footprint index and builderTesting
BUN_UPDATE_SNAPSHOTS=1 bun test tests/tqfp.test.tsbun test tests/get-footprint-names.test.tsbun run formathttps://chatgpt.com/codex/tasks/task_b_686b0dfed6a0832e8f30a12d94ec01f7