From 870ddd153b189144e7c7ea28b58721cdc458c327 Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Thu, 24 Oct 2024 02:23:23 +0530 Subject: [PATCH] bot: export Template class fully (rather than as type) Solves #79 --- src/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index 6731cf3..f3936b9 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -91,7 +91,7 @@ export { MwnDate, MwnTitle, MwnPage, MwnFile, MwnCategory, MwnWikitext, MwnUser, // Export, if only for the sake of getting generated documentation export * from './api_response_types'; export type { PageViewData, PageViewOptions } from './page'; -export type { TemplateConfig, Template, MwnWikitextStatic } from './wikitext'; +export { TemplateConfig, Template, MwnWikitextStatic } from './wikitext'; export interface MwnOptions { /** Suppress messages, except for error messages and warnings */