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

Support /// <reference types #57

Closed
unional opened this issue Dec 16, 2016 · 2 comments
Closed

Support /// <reference types #57

unional opened this issue Dec 16, 2016 · 2 comments

Comments

@unional
Copy link

unional commented Dec 16, 2016

https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

If we use the typings, we are putting it in the dependencies and use /// <reference types="<package>" />.

dependency-check currently do not detect this is proper usage. 🌷

EDIT: in order to do this, we need to check *.d.ts. /// <reference types="..."/> live in *.d.ts after compilation.

@blakeembrey
Copy link
Collaborator

Noted in #59 (comment), this module would probably need to adopt some sort of plugin approach to make this work. Another approach would be TypeScript as a separate module or TSLint rules (TSLint rules might make the most sense).

@blakeembrey
Copy link
Collaborator

Closing in reference to #59

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

No branches or pull requests

2 participants