ECB TypeScript Type Reference (Pre-loaded)
This skill provides type-definition references for ECB development. Always prefer these sources when implementing or editing ECB-related code.
Reference sources
- ECB package types — Read from the project’s
node_modules/@types/ECB/directory (all.d.tsfiles there).
Workflow
- Before writing or changing ECB-related code, read the relevant
.d.tsfromnode_modules/@types/ECB/. - Use the declarations and JSDoc from those files as the single source of truth for types and APIs.
- Import from
'ECB'when using ECB runtime APIs.
Quick reminders
- Use
Util.Init(fn),Util.End(fn),Util.Register(jobName, fn)for lifecycle and jobs. - Use
Util.On*()for events (CAN, LIN, Signal, Key, Var). process.env.PROJECT_ROOTis the ECB project root.