Files
codeql/javascript/ql/test/library-tests/InterProceduralFlow/mixedExportsClient.js
2020-11-06 12:04:41 +00:00

8 lines
205 B
JavaScript

import defaultValue from './mixedExports';
import { x } from './mixedExports';
import * as ns from './mixedExports';
let sink1 = defaultValue.x; // OK
let sink2 = x; // NOT OK
let sink3 = ns.x; // NOT OK