UNPKG

stackexchange-api

Version:
13 lines (12 loc) 604 B
import { TypePrivilege } from '../interfaces/result-types/TypePrivilege'; /** * The equivalent of [Type privilege](https://api.stackexchange.com/docs/types/privilege).<br> * Represents a Privilege a User may have on a [Stack Exchange site](https://stackexchange.com/sites).<br> * Applications should be aware of, and be able to deal with, the possibility of new Privileges being introduced and old ones being removed. */ export declare class Privilege { description: string | null; reputation: number | null; shortDescription: string | null; constructor(privilege?: TypePrivilege); }