Skip to content

Commit 6084a88

Browse files
Merge pull request #559 from schizokid88/master
Exporting types
2 parents 478fb72 + 9abfb69 commit 6084a88

File tree

6 files changed

+19
-8
lines changed

6 files changed

+19
-8
lines changed

builds/wtf_wikipedia.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@
19951995
const anyChar = '\\s\\S'; //including newline
19961996
const noThanks = new RegExp(`${openTag}[${anyChar}]+?${closeTag}`, 'gi');
19971997

1998-
const kill_xml = function(wiki) {
1998+
const kill_xml = function (wiki) {
19991999
//(<ref> tags are parsed in Section class) - luckily, refs can't be recursive.
20002000
//types of html/xml that we want to trash completely.
20012001
wiki = wiki.replace(noThanks, ' ');

builds/wtf_wikipedia.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ const closeTag = `< ?/ ?(${ignore$1.join('|')}) ?>`;
19911991
const anyChar = '\\s\\S'; //including newline
19921992
const noThanks = new RegExp(`${openTag}[${anyChar}]+?${closeTag}`, 'gi');
19931993

1994-
const kill_xml = function(wiki) {
1994+
const kill_xml = function (wiki) {
19951995
//(<ref> tags are parsed in Section class) - luckily, refs can't be recursive.
19961996
//types of html/xml that we want to trash completely.
19971997
wiki = wiki.replace(noThanks, ' ');

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/classify/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/markdown/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/index.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,17 @@ declare namespace wtf {
208208
export { extend }
209209
export { extend as plugin }
210210
export { version }
211+
export { Document }
212+
export { Section }
213+
export { Infobox }
214+
export { Template }
215+
export { Table }
216+
export { Reference }
217+
export { Paragraph }
218+
export { Image }
219+
export { Link }
220+
export { List }
221+
export { Sentence }
211222
}
212223

213224
declare function extend(fn: Function): {

0 commit comments

Comments
 (0)