Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mck committed Dec 17, 2024
1 parent 4c9a4b2 commit 24b4d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/graph-engine/src/nodes/color/colorToString.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Black, toColor } from './lib/utils.js';
import { ColorSchema, StringSchema } from '../../schemas/index.js';
import { ColorSpaces } from './lib/spaces.js';
import { type ColorSpace, ColorSpaces } from './lib/spaces.js';
import { Color as ColorType } from '../../types.js';
import { INodeDefinition, ToInput, ToOutput } from '../../index.js';
import { Node } from '../../programmatic/node.js';
Expand All @@ -12,7 +12,7 @@ export default class NodeDefinition extends Node {

declare inputs: ToInput<{
color: ColorType;
space: ['hex', ...typeof ColorSpaces];
space: ColorSpace | 'hex';
}>;
declare outputs: ToOutput<{
value: string;
Expand Down

0 comments on commit 24b4d27

Please sign in to comment.