"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.createFieldSchemaUnsafe = void 0;
const schemaTypes_js_1 = require("./schemaTypes.js");
function createFieldSchemaUnsafe(kind, allowedTypes, props) {
    // At runtime, we still want this to be a FieldSchema instance, but we can't satisfy its extends clause, so just return it as an FieldSchemaUnsafe
    return (0, schemaTypes_js_1.createFieldSchema)(kind, allowedTypes, props);
}
exports.createFieldSchemaUnsafe = createFieldSchemaUnsafe;
//# sourceMappingURL=schemaFactoryRecursive.js.map