mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
TS: Handle rest parameters in call signatures
This commit is contained in:
@@ -721,6 +721,11 @@ signature_types (
|
||||
int required_params: int ref
|
||||
);
|
||||
|
||||
signature_rest_parameter(
|
||||
unique int sig: @signature_type ref,
|
||||
int rest_param_arra_type: @type ref
|
||||
);
|
||||
|
||||
case @signature_type.kind of
|
||||
0 = @function_signature_type
|
||||
| 1 = @constructor_signature_type
|
||||
|
||||
Reference in New Issue
Block a user