MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / GetNamespaceImportPackages

Method GetNamespaceImportPackages

etscore/options.go:300–305  ·  view source on GitHub ↗

GetNamespaceImportPackages returns normalized package names configured for namespace imports. Defaults to an empty list when unset.

()

Source from the content-addressed store, hash-verified

298// GetNamespaceImportPackages returns normalized package names configured for namespace imports.
299// Defaults to an empty list when unset.
300func (e *EffectPluginOptions) GetNamespaceImportPackages() []string {
301 if e == nil {
302 return []string{}
303 }
304 return normalizePackageList(e.NamespaceImportPackages)
305}
306
307// GetBarrelImportPackages returns normalized package names configured for barrel imports.
308// Defaults to an empty list when unset.

Calls 1

normalizePackageListFunction · 0.85