mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
luaparse: fix FunctionDeclaration & IfStatement & UnaryExpression (#37588)
* luaparse: fix FunctionDeclaration * Update index.d.ts * Update ast.d.ts * Update ast.d.ts * Update ast.d.ts * Update ast.d.ts
This commit is contained in:
parent
d3d853ce90
commit
5cca2ef9a3
1
types/luaparse/index.d.ts
vendored
1
types/luaparse/index.d.ts
vendored
@ -3,6 +3,7 @@
|
||||
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
|
||||
// thomasfn <https://github.com/thomasfn>
|
||||
// Teoxoy <https://github.com/teoxoy>
|
||||
// Zaoqi <https://github.com/zaoqi>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.4
|
||||
|
||||
|
||||
2
types/luaparse/lib/ast.d.ts
vendored
2
types/luaparse/lib/ast.d.ts
vendored
@ -27,7 +27,7 @@ export interface ReturnStatement extends Base<"ReturnStatement"> {
|
||||
}
|
||||
|
||||
export interface IfStatement extends Base<"IfStatement"> {
|
||||
clauses: IfClause[];
|
||||
clauses: Array<IfClause | ElseifClause | ElseClause>;
|
||||
}
|
||||
|
||||
export interface IfClause extends Base<"IfClause"> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user