summaryrefslogtreecommitdiff
path: root/src/server/web/docs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/web/docs.ts')
-rw-r--r--src/server/web/docs.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/web/docs.ts b/src/server/web/docs.ts
index 94c18d9996..84dbe6f094 100644
--- a/src/server/web/docs.ts
+++ b/src/server/web/docs.ts
@@ -17,7 +17,7 @@ import { licenseHtml } from '../../misc/license';
const constants = require('../../const.json');
import endpoints from '../api/endpoints';
const locales = require('../../../locales');
-const nestedProperty = require('nested-property');
+import * as nestedProperty from 'nested-property';
async function genVars(lang: string): Promise<{ [key: string]: any }> {
const vars = {} as { [key: string]: any };