Fediversity/website/node_modules/sucrase/dist/esm/Options.js
2024-11-13 15:47:11 +01:00

102 lines
351 B
JavaScript

import {createCheckers} from "ts-interface-checker";
import OptionsGenTypes from "./Options-gen-types";
const {Options: OptionsChecker} = createCheckers(OptionsGenTypes);
export function validateOptions(options) {
OptionsChecker.strictCheck(options);
}