Added support for axios.create.

This commit is contained in:
Napalys
2025-03-24 08:54:19 +01:00
parent 8f2adb6543
commit a3c84d9feb
3 changed files with 8 additions and 1 deletions

View File

@@ -223,6 +223,9 @@ module ClientRequest {
or
this = axios().getMember(method).getACall() and
method = [httpMethodName(), "request", "postForm", "putForm", "patchForm", "getUri"]
or
this = axios().getMember("create").getReturn().getACall() and
method = "request"
}
private int getOptionsArgIndex() {