Skip to content

Highlighting disappears after variable named 'exports' #662

@ghost

Description

TS and JS Grammar Extension version: latest

Code

const a = (() => {
	let exports;
	exports = {
		x: {},
	};
	if (exports.x) {
		console.log("");
	}
});

// no highlighting
class C {}
function f() {}

exports

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions