You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
The tslint npm package contains autogenerated .d.ts files from source file.
Presumably only index.d.ts is public though?
Is there a way that only that can be published?
The text was updated successfully, but these errors were encountered:
We generally consider the public API to include symbols exported from index.d.ts. Users may import symbols from submodules, but those are not guaranteed to be stable or follow semver.
// okimport{Linter}from"tslint";// use at your own riskimport*asLanguageUtilsfrom"tslint/lib/language/utils";
Excluding "non-public" types from the distribution seems like extra effort & complexity that doesn't provide many benefits. We might consider marking certain things we really don't want to make available as /** @internal */ to elide them from typings, but there would have to be a convincing reason to do it.
The
tslint
npm package contains autogenerated.d.ts
files from source file.Presumably only
index.d.ts
is public though?Is there a way that only that can be published?
The text was updated successfully, but these errors were encountered: