Kind: Function
Source: atloria-monorepo/libs/parser-core/src/utils/framework-detect.ts
True when the file has an import … from '<pkgPrefix>…' (or require('<pkgPrefix>…')).
Signature
tsfunction fileImportsFrom(filePath: string, pkgPrefix: string, content: string): boolean
Parameters
| Name | Type |
|---|---|
filePath | string |
pkgPrefix | string |
content | string |
Returns: boolean
Was this page helpful?