From 4bebe79906f7bc41a41a5e1b6768fd415acb79ab Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Wed, 3 Mar 2021 13:39:39 +0530 Subject: [PATCH] mw.Title: add properties title and namespace --- mw/Title.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mw/Title.d.ts b/mw/Title.d.ts index 8989004..3a618bc 100644 --- a/mw/Title.d.ts +++ b/mw/Title.d.ts @@ -22,6 +22,9 @@ declare global { */ constructor(title: string, namespace?: number); + title: string; + namespace: number; + static newFromText(title: string, namespace?: number): mw.Title | null; static makeTitle(title: string, namespace?: number): mw.Title | null;