mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Fix bug
This commit is contained in:
parent
931bdc6aac
commit
c48cbd95f6
@ -61,11 +61,11 @@ async function genVars(lang: string): Promise<{ [key: string]: any }> {
|
||||
}
|
||||
|
||||
// WIP type
|
||||
const parseParamDefinition = (key: string, param: Context) => {
|
||||
const parseParamDefinition = (key: string, x: any) => {
|
||||
return Object.assign({
|
||||
name: key,
|
||||
type: param.getType()
|
||||
}, param.data);
|
||||
type: x.validator.getType()
|
||||
}, x);
|
||||
};
|
||||
|
||||
const parsePropDefinition = (key: string, prop: any) => {
|
||||
|
Loading…
Reference in New Issue
Block a user