1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: typescript 5.0 compatibility
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#--verbatimmodulesyntax
"ignoreDeprecations": "5.0" will temporarily suppress error about using
'importsNotUsedAsValues', but this workaround will work only until typescript
5.4 and from 5.5 it'll be an error.
Author: Ananthu C V <weepingclown@debian.org>
Last-Update: 2024-12-15
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -23,2 +23,3 @@
"allowJs": true,
+ "ignoreDeprecations": "5.0",
--- a/src/ts-internals.ts
+++ b/src/ts-internals.ts
@@ -26,3 +26,3 @@
basePath: string,
- errors: _ts.Push<_ts.Diagnostic>,
+ errors: Array<_ts.Diagnostic>,
createDiagnostic: (
|