mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
14 lines
337 B
TypeScript
14 lines
337 B
TypeScript
import type { DocPlainText } from '@microsoft/tsdoc';
|
|
import { type DocNodeJSON, node } from './CommentNode.js';
|
|
|
|
export interface DocPlainTextJSON extends DocNodeJSON {
|
|
text: string;
|
|
}
|
|
|
|
export function plainTextNode(plainTextNode: DocPlainText): DocPlainTextJSON {
|
|
return {
|
|
...node(plainTextNode),
|
|
text: plainTextNode.text,
|
|
};
|
|
}
|