forked from gajus/babel-plugin-react-css-modules
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathutils.d.ts
More file actions
19 lines (15 loc) · 577 Bytes
/
Copy pathutils.d.ts
File metadata and controls
19 lines (15 loc) · 577 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
interface LoaderContextI {
resourcePath: string;
}
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions, @typescript-eslint/no-empty-object-type, @typescript-eslint/no-empty-interface
interface OptionsI {}
export function generateScopedNameFactory(
localIdentName: string,
): (localName: string, assetPath: string) => string;
export function getLocalIdent(
{ resourcePath }: LoaderContextI,
localIdentName: string,
localName: string,
options: OptionsI,
): string;