Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Below is a super barebones handler that does absolutely nothing. You can use thi
// file: dummy.ts

import type { FileData, FileFormat, FormatHandler } from "../FormatHandler.ts";
import CommonFormats from "src/CommonFormats.ts";
import CommonFormats, { Category } from "src/CommonFormats.ts";

class dummyHandler implements FormatHandler {

Expand All @@ -118,7 +118,7 @@ class dummyHandler implements FormatHandler {
from: false,
to: false,
internal: "gif",
category: ["image", "video"],
category: [Category.IMAGE, CATEGORY.VIDEO], // See src/CommonFormats.ts for valid categories
lossless: false
},
];
Expand Down
Loading