Skip to content

Import used in JSDoc showing as no-unused-vars #393

@kirkstrobeck

Description

@kirkstrobeck
const FooController = require('xyz');

// and below

constructor() {
  super(stuff);

  /** @private @const {!FooController} */
  this.FooController = abc;
}

I’m getting the error eslint(no-unused-vars), how would I show the linter it’s being used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions