stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
24 lines (23 loc) • 807 B
TypeScript
import { TypeTag } from '../interfaces/result-types/TypeTag';
/**
* The equivalent of [Type tag](https://api.stackexchange.com/docs/types/tag).<br>
* This object represents a Tag on a [Stack Exchange site](https://stackexchange.com/sites).<br>
* Applications should be prepared for the destruction of Tags, though this tends to be a rare event.
*/
export declare class Tag {
count: number | null;
hasSynonyms: boolean | null;
isModeratorOnly: boolean | null;
isRequired: boolean | null;
/**
* *May be absent, in which case it is set to `null`*
*/
lastActivityDate: Date | null;
name: string | null;
synonyms: string[] | null;
/**
* *May be absent, in which case it is set to `null`*
*/
userId: number | null;
constructor(tag?: TypeTag);
}