https://github.com/samchon/ts-patch-no-emit-bug-report
To report `addDiagnostics()` function of `ts-patch`
https://github.com/samchon/ts-patch-no-emit-bug-report
Last synced: about 11 hours ago
JSON representation
To report `addDiagnostics()` function of `ts-patch`
- Host: GitHub
- URL: https://github.com/samchon/ts-patch-no-emit-bug-report
- Owner: samchon
- License: mit
- Created: 2023-09-01T16:06:00.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-01T16:08:38.000Z (almost 3 years ago)
- Last Synced: 2026-01-19T10:53:44.127Z (5 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```bash
npm install
npm start
```
When `noEmit` be configured, `addDiagnostics` function of `ts-patch` does not work.
Here is the demonstration of the problem.
```bash
------------------------------------------
When noEmit is true
------------------------------------------
src/index.ts:3:7 - error TS2322: Type 'number' is not assignable to type 'bigint'.
3 const value: bigint = 3;
~~~~~
Found 1 error in src/index.ts:3
------------------------------------------
When noEmit is true
------------------------------------------
src/index.ts:3:7 - error TS2322: Type 'number' is not assignable to type 'bigint'.
3 const value: bigint = 3;
~~~~~
src/index.ts:4:1 - error TS(typia.json.typia.json.stringify): unsupported type detected
- bigint
- JSON does not support bigint type.
4 typia.json.stringify(value);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: src/index.ts:3
```