mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Add missing typings #569
This commit is contained in:
parent
a6e60c7c19
commit
0de249f32a
@ -21,7 +21,7 @@ import {Event} from '../common/event/Event';
|
||||
import {QueryParams} from '../common/QueryParams';
|
||||
import {ConfigClassBuilder} from 'typeconfig/node';
|
||||
import {ConfigClassOptions} from 'typeconfig/src/decorators/class/IConfigClass';
|
||||
import {DatabaseType} from '../common/config/private/PrivateConfig';
|
||||
import {DatabaseType, ServerConfig} from '../common/config/private/PrivateConfig';
|
||||
import {unless} from 'express-unless';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
@ -58,7 +58,7 @@ export class Server {
|
||||
'using config from ' +
|
||||
(
|
||||
ConfigClassBuilder.attachPrivateInterface(Config)
|
||||
.__options as ConfigClassOptions
|
||||
.__options as ConfigClassOptions<ServerConfig>
|
||||
).configPath +
|
||||
':'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user