/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { FieldSchema, NodeKind, } from "./schemaTypes.js";
export function createFieldSchemaUnsafe(kind, allowedTypes) {
    // 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 new FieldSchema(kind, allowedTypes);
}
//# sourceMappingURL=schemaFactoryRecursive.js.map