mirror of
https://github.com/esiur/esiur-js.git
synced 2026-04-04 14:08:20 +00:00
Instance.Link
This commit is contained in:
@@ -318,7 +318,9 @@ export default class TypeTemplate {
|
||||
?? RepresentationType.Dynamic, fi[1][ai][2]?.optional, ai));
|
||||
|
||||
// [name, {param1: type, param2: int}, returnType, "Description"]
|
||||
var ft = new FunctionTemplate(this, i, fi[0], false, args,
|
||||
let isStatic = type[fi[0]] instanceof Function;
|
||||
|
||||
var ft = new FunctionTemplate(this, i, fi[0], false, isStatic, args,
|
||||
RepresentationType.fromType(fi[2]) ?? RepresentationType.Void,
|
||||
fi[3]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user