Skip to content

Commit

Permalink
πŸ› Mark re-exported type Color as type
Browse files Browse the repository at this point in the history
The re-exported type `Color` was not caught by the ESLint rule, and caused downstream problem.
  • Loading branch information
ralfstx committed Feb 24, 2024
1 parent d5c1906 commit 385f24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/read-color.ts
@@ -1,9 +1,9 @@
import { Color, rgb } from 'pdf-lib';
import { type Color, rgb } from 'pdf-lib';

import { namedColors } from './api/colors.ts';
import { typeError } from './types.ts';

export { Color };
export { type Color };

export function readColor(input: unknown): Color {
if (typeof input === 'string') {
Expand Down

0 comments on commit 385f24c

Please sign in to comment.