Merge pull request #15115 from erik-krogh/no-types-integration-test

JS: add integration test for the new extractor option to disable type extraction
This commit is contained in:
Erik Krogh Kristensen
2023-12-15 11:13:14 +01:00
committed by GitHub
6 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1 @@
export const foo: { bar: number } = { bar: 42};

View File

@@ -0,0 +1,5 @@
import javascript
from Expr e, Type t
where t = e.getType()
select e, t

View File

@@ -0,0 +1,3 @@
dependencies:
codeql/javascript-all: '*'
warnOnImplicitThis: true

View File

@@ -0,0 +1,3 @@
from create_database_utils import *
run_codeql_database_create([], lang="javascript", extra_args=["-Oskip_types=true"])