From 8ad38b544ee9100a51bb3e861c735d73aa49f6bd Mon Sep 17 00:00:00 2001 From: ili101 Date: Thu, 5 Oct 2017 00:15:57 +0300 Subject: [PATCH] Fix Bug, Unable to find type [PSPlot] in ISE When loading cmdlet info from ISE "Commands" panel you get the error "Unable to find type [PSPlot]" https://github.com/dfinke/ImportExcel/issues/131 --- ImportExcel.psm1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/ImportExcel.psm1 b/ImportExcel.psm1 index decf817..67552ed 100644 --- a/ImportExcel.psm1 +++ b/ImportExcel.psm1 @@ -30,8 +30,6 @@ if ($PSVersionTable.PSVersion.Major -ge 5) { . $PSScriptRoot\Plot.ps1 Function New-Plot { - [OutputType([PSPlot])] - Param() [PSPlot]::new() }