UNPKG

@atlaskit/eslint-plugin-design-system

Version:

The essential plugin for use with the Atlassian Design System.

9 lines (8 loc) • 286 B
/** * Whether `specifier` loads `packageName` or one of its subpaths. A scope, such as * `'@floating-ui'`, matches every package in that scope. */ export declare function isModuleFromPackage({ specifier, packageName, }: { specifier: string; packageName: string; }): boolean;