https://github.com/teascade/typescript-error-demonstration
Demonstration for error lingering in TypeScript 5.5.0-beta as of 18.06.2024
https://github.com/teascade/typescript-error-demonstration
Last synced: over 1 year ago
JSON representation
Demonstration for error lingering in TypeScript 5.5.0-beta as of 18.06.2024
- Host: GitHub
- URL: https://github.com/teascade/typescript-error-demonstration
- Owner: Teascade
- Created: 2024-06-18T15:27:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T13:13:15.000Z (about 2 years ago)
- Last Synced: 2025-01-20T23:27:51.877Z (over 1 year ago)
- Language: Shell
- Homepage: https://github.com/microsoft/TypeScript/issues/58914
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Error Demonstration for TypeScript
This error was tested in TypeScript 5.5.0-beta as of Tuesday 18.06.2024.
To get the error yourself, run the following on a clean repository:
```sh
cd ./lib && \
npm ci && \
npm link --userconfig ../.npmrc && \
tsc -p tsconfig.json && \
npm pack && \
cd ../project && \
npm i "../lib/""$PACK_FILENAME" && \
npm link @privateprefix/lib --userconfig ../.npmrc
tsc -p tsconfig.json
```
Or more simply, if you trust the shell script provided, run `./test.sh`.