Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/hardware/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ board.on('ready', () => {
const strip = new pixel.Strip({
data: 12, // LED data pin
length: 24, // number of LEDs
// @ts-ignore board errpr

Copilot AI Nov 22, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error in the comment: "errpr" should be "error".

Suggested change
// @ts-ignore board errpr
// @ts-ignore board error

Copilot uses AI. Check for mistakes.
board: board,
Comment on lines +14 to 15

Copilot AI Nov 22, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using @ts-ignore to suppress type errors is not recommended. Consider using @ts-expect-error instead, which will fail if the type error is fixed in the future (helping to clean up unnecessary suppressions). Alternatively, investigate and fix the underlying type issue properly by ensuring the board types are correctly defined or by using type assertions like board as any or more specific type casting.

Suggested change
// @ts-ignore board errpr
board: board,
board: board as any,

Copilot uses AI. Check for mistakes.
controller: 'FIRMATA', // Use Firmata-controlled Arduino
skip_firmware_check: true,
Expand Down
Loading