import { IPropertyFieldEnterpriseTermPickerProps , IPropertyFieldEnterpriseTermPickerPropsInternal , IPropertyFieldTermPickerProps } from "./IPropertyFieldTermPicker" ; import { PropertyFieldTermPickerBuilder } from "./PropertyFieldTermPicker" ; import PnPTermStorePickerService from "../../services/PnPTermStorePickerService" ; import { IPropertyPaneField } from "@microsoft/sp-webpart-base" ; param targetProperty param properties export function PropertyFieldEnterpriseTermPicker ( targetProperty , properties ) { const termPickerInternalProps = properties as IPropertyFieldTermPickerProps ; return new PropertyFieldTermPickerBuilder ( targetProperty , { ... termPickerInternalProps , targetProperty : targetProperty , onRender : null , onDispose : null , termService : new PnPTermStorePickerService ( properties , properties . context ) } ) ; }