Nineteen imports across nine files that nothing references.
pickier 0.1.65 adds a no-unused-imports rule and reports every one as an error, so #1139's tooling bump fails lint until these go. They are dead on their own terms regardless — the rule only made them visible.
| file | dropped |
|---|---|
src/dynamodb-client.ts | DynamoDBBatchGetItemParams, DynamoDBBatchWriteItemParams, DynamoDBDeleteItemParams, DynamoDBGetItemParams, DynamoDBTransactWriteParams |
src/dynamodb-single-table.ts | DynamoDBConfig, DynamoDBDriver, SingleTableEntityMapping, createDynamoDBDriver |
src/dynamodb/migration-driver.ts | hashTableDefinition |
src/model.ts | isBrowser |
src/client.ts | DatabaseSchema (AnyDatabaseSchema stays; the name survives only in a comment) |
src/actions/db-wipe.ts, db-optimize.ts | node:process |
src/actions/migrate-status.ts | dirname, join, node:process |
src/actions/migrate-rollback.ts | dirname, node:process (join is used) |
Each was checked for a second reference in its file before removal, including re-exports; createDynamoDBDriver was the only value import among them, and nothing in dynamodb-single-table.ts calls it.
Locally: full suite 2246 pass / 0 fail / 10 skip, tsc clean, bun run build fine with public-surface-types and source-hygiene passing, pickier . unchanged at its 330-warning baseline, and pickier@0.1.65 . down from 19 errors to 0.
🤖 Generated with Claude Code