stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
20 lines (19 loc) • 797 B
TypeScript
import { TypeOriginalQuestion } from '../interfaces/result-types/TypeOriginalQuestion';
/**
* The equivalent of [Type original_question](https://api.stackexchange.com/docs/types/original-question).<br>
* This object represents an "original" [[Question]] that another was closed as a duplicate of.<br>
* This object is mostly analogous to a row in the "gray box" that appears in Questions closed as duplicates which lists Original Questions.
*/
export declare class OriginalQuestion {
/**
* *May be absent, in which case it is set to `null`*
*/
acceptedAnswerId: number | null;
answerCount: number | null;
/**
* Refers to a [[Question]]
*/
questionId: number | null;
title: string | null;
constructor(original_question?: TypeOriginalQuestion);
}