mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
JS: Migrate to new JSON API
This commit is contained in:
@@ -65,8 +65,8 @@ predicate isReactForJSX(UnusedLocal v) {
|
||||
v.getName() =
|
||||
tsconfig
|
||||
.getPropValue("compilerOptions")
|
||||
.(JSONObject)
|
||||
.getPropStringValue(["jsxFactory", "jsxFragmentFactory"])
|
||||
.getPropValue(["jsxFactory", "jsxFragmentFactory"])
|
||||
.getStringValue()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user