circuit-to-svg 0.0.119 → 0.0.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -178,10 +178,11 @@ declare const colorMap: {
178
178
  };
179
179
  type ColorMap = typeof colorMap;
180
180
 
181
+ type ColorOverrides = {
182
+ schematic?: Partial<ColorMap["schematic"]>;
183
+ };
181
184
  interface Options {
182
- colorOverrides?: {
183
- schematic?: Partial<ColorMap["schematic"]>;
184
- };
185
+ colorOverrides?: ColorOverrides;
185
186
  width?: number;
186
187
  height?: number;
187
188
  grid?: boolean | {
@@ -200,4 +201,4 @@ declare function convertCircuitJsonToSchematicSvg(circuitJson: AnyCircuitElement
200
201
  */
201
202
  declare const circuitJsonToSchematicSvg: typeof convertCircuitJsonToSchematicSvg;
202
203
 
203
- export { type ColorMap, circuitJsonToPcbSvg, circuitJsonToSchematicSvg, convertCircuitJsonToAssemblySvg, convertCircuitJsonToPcbSvg, convertCircuitJsonToSchematicSvg };
204
+ export { type ColorMap, type ColorOverrides, circuitJsonToPcbSvg, circuitJsonToSchematicSvg, convertCircuitJsonToAssemblySvg, convertCircuitJsonToPcbSvg, convertCircuitJsonToSchematicSvg };