Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

false negative: no-internal-module #1069

Closed
unional opened this issue Mar 28, 2016 · 1 comment
Closed

false negative: no-internal-module #1069

unional opened this issue Mar 28, 2016 · 1 comment

Comments

@unional
Copy link
Contributor

unional commented Mar 28, 2016

https://github.com/typed-typings/npm-chai/blob/master/lib/Chai.d.ts#L28-L33

/* tslint:disable:no-internal-module */
declare global {
  interface Object {
    should: A.Assertion;
  }
}

Global augmentation is detected as internal module.

@jkillian
Copy link
Contributor

jkillian commented Apr 8, 2016

For context, this is a fairly new feature of TypeScript: microsoft/TypeScript#6213

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants