5.4.5 • Published 23 days ago

ts-expose-internals v5.4.5

Weekly downloads
36
License
MIT
Repository
github
Last release
23 days ago

License

TypeScript Internal Types

Expose TypeScript internal types by simply adding a development dependency.

Setup

  1. Add aliased dependency to package.json (use the same version as your typescript version)

    {
      "devDependencies": {
        "typescript": "^5.1.3",
        // Note: The package is 'ts-expose-internals', but we are aliasing within the @types scope to make TS adopt it globally
        "@types/ts-expose-internals": "npm:ts-expose-internals@5.1.3"
      }
    }
  2. Run npm install / yarn install

Usage

All internal types are now available within the primary typescript module

// This namespace is flagged @internal and is omitted from published types, but now we can access it!
import { JsDoc } from 'typescript'

How It Works

The code within this repo runs on a schedule of once per day via GitHub Actions.

It checks for new TypeScript release tags, and if there are any, it clones the source code for that release and builds the internal types. After, it performs a bit of transformation magic and publishes the package to NPM.

New types are added to the 'typescript' module via the Module Augmentation technique.

Notes

  • We publish for full TS releases only. If you'd like nightly builds, have a look at byots.
  • If we don't have a package for the latest release, please allow 24hrs, then file an issue.

Acknowledgments

Thanks to basarat for his work on byots, which served as the inspiration!

5.4.5

23 days ago

5.4.4

29 days ago

5.4.3

1 month ago

5.4.2

2 months ago

5.4.1-rc

2 months ago

5.4.0-beta

3 months ago

5.3.3

5 months ago

5.3.2

6 months ago

5.3.0-beta

6 months ago

5.3.1-rc

6 months ago

5.1.5

10 months ago

5.1.3

11 months ago

5.1.1-rc

11 months ago

5.1.0-beta

11 months ago

5.2.2

8 months ago

5.0.4

11 months ago

5.0.3

11 months ago

5.0.2

11 months ago

5.2.0-beta

10 months ago

5.2.1-rc

9 months ago

5.1.6

10 months ago

4.9.0-beta

1 year ago

4.9.5

1 year ago

4.9.0-rc

1 year ago

4.9.4

1 year ago

4.9.3

1 year ago

4.8.4

2 years ago

4.8.3

2 years ago

4.8.2

2 years ago

4.7.2

2 years ago

4.7.4

2 years ago

4.7.3

2 years ago

4.8.0-beta

2 years ago

4.7.0-rc

2 years ago

4.8.0-rc

2 years ago

4.7.0-beta

2 years ago

4.6.3

2 years ago

4.6.2

2 years ago

4.6.4

2 years ago

4.6.0-beta

2 years ago

4.5.4

2 years ago

4.5.3

2 years ago

4.5.5

2 years ago

4.5.2

2 years ago

4.5.0-rc

3 years ago

4.4.4

3 years ago

4.5.0-beta

3 years ago

4.4.3

3 years ago

4.4.2

3 years ago

4.4.0-rc

3 years ago

4.3.2

3 years ago

4.3.0-rc

3 years ago

4.2.4

3 years ago

4.3.0-beta

3 years ago

4.2.0-rc

3 years ago

4.2.3

3 years ago

4.1.4

3 years ago

4.2.2

3 years ago

4.0.7

3 years ago

4.1.5

3 years ago

4.0.6

3 years ago

4.2.0-beta

3 years ago

4.1.3

3 years ago

4.1.2

3 years ago

4.1.0-rc

3 years ago

4.0.5

4 years ago

4.1.0-beta

4 years ago

4.0.3

4 years ago

4.0.0-rc

4 years ago

4.0.2

4 years ago

3.9.7-patch

4 years ago

3.9.7-fix

4 years ago

4.0.0-beta

4 years ago

3.8.3

4 years ago

3.8.2

4 years ago

3.9.7

4 years ago

3.9.6

4 years ago

3.8.0-rc

4 years ago

0.0.0-test

4 years ago