@typecad/passives
Version:
typeCAD package that includes simple access to common components
15 lines (14 loc) • 364 B
TypeScript
export interface ComponentConfig {
symbol: string;
footprint: string;
prefix: string;
}
export interface SizeConfig {
Resistor: ComponentConfig;
Capacitor: ComponentConfig;
Inductor: ComponentConfig;
Diode: ComponentConfig;
LED: ComponentConfig;
Fuse?: ComponentConfig;
}
export declare const sizes: Record<string, SizeConfig>;