Skip to content

Commit 1f47d05

Browse files
committed
docs(website): addressed build warning
1 parent d34b267 commit 1f47d05

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/plugins/typedoc/ignore-inherited-static-methods.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { Converter, ParameterType } = require('typedoc');
1+
import { Converter, ParameterType } from 'typedoc';
22

33
/*
44
* Based on:
@@ -11,7 +11,7 @@ const { Converter, ParameterType } = require('typedoc');
1111
* @param {import('typedoc').Application} app
1212
* @returns void
1313
*/
14-
function load(app) {
14+
export function load(app) {
1515

1616
const reflectionsToIgnore = new Set();
1717

@@ -47,5 +47,3 @@ function isInheritedStaticDeclaration(reflection) /*: reflection is Reflection &
4747
return reflection.flags.isStatic
4848
&& Object.prototype.hasOwnProperty.call(reflection, 'inheritedFrom');
4949
}
50-
51-
exports.load = load;

0 commit comments

Comments
 (0)