更加严格的lib&model定义

This commit is contained in:
undefined committed 2020-09-09 00:11:16 +08:00
1 parent 76b001305d
commit cd3a426ef8
8 files changed
+42 -9

No files matched your search

+3
View File
@@ -10,6 +10,9 @@ declare module 'hydrooj' {
'login-with-github.secret': string,
'login-with-github.proxy': string,
}
interface Lib {
oauth_github: typeof import('./lib'),
}
}
async function get() {