Remove unused export

This commit is contained in:
Steven
2021-08-06 13:20:14 -04:00
parent 821d14c6ab
commit 4091f2efec

View File

@@ -150,7 +150,8 @@ type DecodeParams = { operation: 'decode' } & Parameters<typeof decodeFile>[0];
type PreprocessParams = { operation: 'preprocess' } & Parameters< type PreprocessParams = { operation: 'preprocess' } & Parameters<
typeof preprocessImage typeof preprocessImage
>[0]; >[0];
export type JobMessage = EncodeParams | DecodeParams | PreprocessParams; type JobMessage = EncodeParams | DecodeParams | PreprocessParams;
function handleJob(params: JobMessage) { function handleJob(params: JobMessage) {
switch (params.operation) { switch (params.operation) {
case 'encode': case 'encode':