Skip to content

Commit

Permalink
tsc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdesl committed Dec 27, 2024
1 parent 973fd85 commit f10c909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 0 additions & 5 deletions test/test-tsc.js

This file was deleted.

5 changes: 3 additions & 2 deletions test/test-tsc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
///<reference path="../types/types.d.ts" />
import { ColorGamut } from "../src/index.js";
import { listColorSpaces, serialize, sRGB } from "../src/index.js";
console.log(serialize([0.5, 0.25, 0.15], sRGB), listColorSpaces()[0].id);

console.log(ColorGamut);
// This stub is just to check that this compiles properly with tsc...

0 comments on commit f10c909

Please sign in to comment.