You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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);
}