(libName string)
| 130 | ) |
| 131 | |
| 132 | func GetLibFileName(libName string) (string, bool) { |
| 133 | // checks if the libName is a valid lib name or file name and converts the lib name to the filename if needed |
| 134 | libName = tspath.ToFileNameLowerCase(libName) |
| 135 | if LibFilesSet.Has(libName) { |
| 136 | return libName, true |
| 137 | } |
| 138 | lib, ok := LibMap.Get(libName) |
| 139 | if !ok { |
| 140 | return "", false |
| 141 | } |
| 142 | return lib.(string), true |
| 143 | } |
| 144 | |
| 145 | var moduleResolutionOptionMap = collections.NewOrderedMapFromList([]collections.MapEntry[string, any]{ |
| 146 | {Key: "node16", Value: core.ModuleResolutionKindNode16}, |
no test coverage detected