We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the following setup:
version: typescript@1.9.0-dev.20160127
typescript@1.9.0-dev.20160127
jsconfig.json
{ "compilerOptions": { "module": "commonjs", "target": "es5" }, "exclude": [ "node_modules" ] }
circle.js
const PI = Math.PI; exports.area = function (r) { return PI * r * r; };
geometry.js
const circle = require('./circle.js'); console.log( `The area of a circle of radius 4 is ${circle.area(4)}`);
Go to definition from geometry.js area works and navigates to the file circle.js.
area
Doing a reference search from circle.js exports.area doesn't result in any references.
When changing the code of circle.js to:
const PI = Math.PI; export function area (r) { return PI * r * r; };
then the reference search returns the correct result.
The text was updated successfully, but these errors were encountered:
This should be fixed by #6632
Sorry, something went wrong.
No branches or pull requests
In the following setup:
version:
typescript@1.9.0-dev.20160127
jsconfig.json
circle.js
geometry.js
Go to definition from geometry.js
area
works and navigates to the file circle.js.Doing a reference search from circle.js exports.area doesn't result in any references.
When changing the code of circle.js to:
then the reference search returns the correct result.
The text was updated successfully, but these errors were encountered: