dtslint/docs/no-dead-reference.md

285 B

no-dead-reference

A <reference> comment should go at the top of a file -- otherwise it is just a normal comment.

Bad:

console.log("Hello world!");
/// <reference types="jquery" />

Good:

/// <reference types="jquery" />
console.log("Hello world!");