14 lines
297 B
TypeScript
14 lines
297 B
TypeScript
|
|
import type { Category } from './types';
|
||
|
|
|
||
|
|
declare namespace getCategoryFlags {
|
||
|
|
interface CategoryFlags {
|
||
|
|
patterns: boolean;
|
||
|
|
patternTrailers: boolean;
|
||
|
|
dirSlash: boolean;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
declare function getCategoryFlags(category: Category): getCategoryFlags.CategoryFlags;
|
||
|
|
|
||
|
|
export = getCategoryFlags;
|