typescript 5.0.0-dev.20230214 → 5.0.0-dev.20230215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +115 -74
- package/lib/tsserver.js +129 -79
- package/lib/tsserverlibrary.d.ts +8 -5
- package/lib/tsserverlibrary.js +129 -79
- package/lib/typescript.d.ts +8 -5
- package/lib/typescript.js +129 -79
- package/lib/typingsInstaller.js +5 -3
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -6675,7 +6675,8 @@ declare namespace ts {
|
|
|
6675
6675
|
TemplateLiteral = 134217728,
|
|
6676
6676
|
StringMapping = 268435456,
|
|
6677
6677
|
Literal = 2944,
|
|
6678
|
-
Unit =
|
|
6678
|
+
Unit = 109472,
|
|
6679
|
+
Freshable = 2976,
|
|
6679
6680
|
StringOrNumberLiteral = 384,
|
|
6680
6681
|
PossiblyFalsy = 117724,
|
|
6681
6682
|
StringLike = 402653316,
|
|
@@ -6727,10 +6728,12 @@ declare namespace ts {
|
|
|
6727
6728
|
isClass(): this is InterfaceType;
|
|
6728
6729
|
isIndexType(): this is IndexType;
|
|
6729
6730
|
}
|
|
6730
|
-
interface
|
|
6731
|
+
interface FreshableType extends Type {
|
|
6732
|
+
freshType: FreshableType;
|
|
6733
|
+
regularType: FreshableType;
|
|
6734
|
+
}
|
|
6735
|
+
interface LiteralType extends FreshableType {
|
|
6731
6736
|
value: string | number | PseudoBigInt;
|
|
6732
|
-
freshType: LiteralType;
|
|
6733
|
-
regularType: LiteralType;
|
|
6734
6737
|
}
|
|
6735
6738
|
interface UniqueESSymbolType extends Type {
|
|
6736
6739
|
symbol: Symbol;
|
|
@@ -6745,7 +6748,7 @@ declare namespace ts {
|
|
|
6745
6748
|
interface BigIntLiteralType extends LiteralType {
|
|
6746
6749
|
value: PseudoBigInt;
|
|
6747
6750
|
}
|
|
6748
|
-
interface EnumType extends
|
|
6751
|
+
interface EnumType extends FreshableType {
|
|
6749
6752
|
}
|
|
6750
6753
|
enum ObjectFlags {
|
|
6751
6754
|
None = 0,
|