Types/OpenPackage/get_ImportMap.ps1

<#
.SYNOPSIS
    Gets a package's `importMap.json`
.DESCRIPTION
    Gets the content of any `importMap.json` files in the package
#>

[OutputType([psobject])]
param()


$this.GetContent(@($this.FileList -match '\importMap\.json$'))