Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

no-bad-reference: Avoid <reference types> of the current package #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Nov 1, 2018

Noticed while looking at #153 : jquery has a file jquery.slim.d.ts that uses /// <reference types="jquery" />. This was probably intended to always access index.d.ts, but could actually end up referring to ts3.1/index.d.ts in other TypeScript versions, causing us to be unable to find a source file. I have a better fix for that issue in the works, but thought this would be good as a lint rule enhancement anyway.

@ghost ghost requested a review from sandersn November 1, 2018 00:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants