mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-08 14:44:37 +00:00
add MemberExpression as identifier for FunctionDeclaration (#37641)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
f9da8ce72a
commit
e35d181fbb
2
types/luaparse/lib/ast.d.ts
vendored
2
types/luaparse/lib/ast.d.ts
vendored
@@ -63,7 +63,7 @@ export interface CallStatement extends Base<"CallStatement"> {
|
||||
}
|
||||
|
||||
export interface FunctionDeclaration extends Base<"FunctionDeclaration"> {
|
||||
identifier: Identifier | null;
|
||||
identifier: Identifier | MemberExpression | null;
|
||||
isLocal: boolean;
|
||||
parameters: Identifier[];
|
||||
body: Statement[];
|
||||
|
||||
Reference in New Issue
Block a user