tf2-item-format
Version:
Format's TF2 items like backpack.tf does
14 lines (13 loc) • 546 B
TypeScript
import { TargetOutputItem } from '../../types';
import { ISchema } from '../../types/schema';
/**
* Finds out which usable item it is
* and its type
* `output` or `target`
* @param {string} name
* @return {Object}
*/
export default function getUsableItem(schema: ISchema, name: string): Partial<TargetOutputItem> | null;
export declare function isKitException(schema: ISchema, name: string): boolean;
export declare function getKitExceptions(schema: ISchema): string[];
export declare function findKitExceptions(schema: ISchema): string[];