fediversity.eu/node_modules/sucrase/dist/esm/Options.js

102 lines
351 B
JavaScript
Raw Permalink Normal View History

2024-03-26 16:28:28 +01:00
import {createCheckers} from "ts-interface-checker";
import OptionsGenTypes from "./Options-gen-types";
const {Options: OptionsChecker} = createCheckers(OptionsGenTypes);
export function validateOptions(options) {
OptionsChecker.strictCheck(options);
}