tf2-item-format
Version:
Format's TF2 items like backpack.tf does
26 lines (25 loc) • 755 B
TypeScript
import { SKUAttributes } from '../types';
export declare function hasTargetDefindex(attributes: SKUAttributes): attributes is {
targetDefindex: number;
defindex: number;
quality: number;
craftable: boolean;
};
export declare function hasOutputDefindex(attributes: SKUAttributes): attributes is {
outputDefindex: number;
outputQuality: number;
defindex: number;
quality: number;
craftable: boolean;
};
export declare function hasOutputQuality(attributes: SKUAttributes): attributes is {
outputQuality: number;
defindex: number;
quality: number;
craftable: boolean;
};
export declare function hasTexture(attributes: {
texture?: string | number | undefined;
}): attributes is {
texture: number;
};