Create type definition for 'nested-property' (#4004)
* Create type definition for 'nested-property' * Follow lint
This commit is contained in:
parent
27268fd6b7
commit
3b30ad5404
3 changed files with 21 additions and 2 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue