refactor: Fix Enteprise type errors (#9442)
This commit is contained in:
@@ -5,8 +5,6 @@ import type {
|
||||
INodeProperties,
|
||||
INodeTypeDescription,
|
||||
NodeParameterValueType,
|
||||
INodePropertyOptions,
|
||||
INodePropertyCollection,
|
||||
ResourceMapperField,
|
||||
} from 'n8n-workflow';
|
||||
import {
|
||||
@@ -271,7 +269,7 @@ export const getNodeCredentialForSelectedAuthType = (
|
||||
export const getAuthTypeForNodeCredential = (
|
||||
nodeType: INodeTypeDescription | null | undefined,
|
||||
credentialType: INodeCredentialDescription | null | undefined,
|
||||
): INodePropertyOptions | INodeProperties | INodePropertyCollection | null => {
|
||||
): NodeAuthenticationOption | null => {
|
||||
if (nodeType && credentialType) {
|
||||
const authField = getMainAuthField(nodeType);
|
||||
const authFieldName = authField ? authField.name : '';
|
||||
|
||||
Reference in New Issue
Block a user