Fix bug
This commit is contained in:
		
							parent
							
								
									931bdc6aac
								
							
						
					
					
						commit
						c48cbd95f6
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -61,11 +61,11 @@ async function genVars(lang: string): Promise<{ [key: string]: any }> {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// WIP type
 | 
					// WIP type
 | 
				
			||||||
const parseParamDefinition = (key: string, param: Context) => {
 | 
					const parseParamDefinition = (key: string, x: any) => {
 | 
				
			||||||
	return Object.assign({
 | 
						return Object.assign({
 | 
				
			||||||
		name: key,
 | 
							name: key,
 | 
				
			||||||
		type: param.getType()
 | 
							type: x.validator.getType()
 | 
				
			||||||
	}, param.data);
 | 
						}, x);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const parsePropDefinition = (key: string, prop: any) => {
 | 
					const parsePropDefinition = (key: string, prop: any) => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue