typescript 5.0.0-dev.20230213 → 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 +155 -96
- package/lib/tsserver.js +174 -106
- package/lib/tsserverlibrary.d.ts +8 -5
- package/lib/tsserverlibrary.js +174 -106
- package/lib/typescript.d.ts +8 -5
- package/lib/typescript.js +174 -106
- package/lib/typingsInstaller.js +10 -5
- package/package.json +1 -1
package/lib/typescript.d.ts
CHANGED
|
@@ -2700,7 +2700,8 @@ declare namespace ts {
|
|
|
2700
2700
|
TemplateLiteral = 134217728,
|
|
2701
2701
|
StringMapping = 268435456,
|
|
2702
2702
|
Literal = 2944,
|
|
2703
|
-
Unit =
|
|
2703
|
+
Unit = 109472,
|
|
2704
|
+
Freshable = 2976,
|
|
2704
2705
|
StringOrNumberLiteral = 384,
|
|
2705
2706
|
PossiblyFalsy = 117724,
|
|
2706
2707
|
StringLike = 402653316,
|
|
@@ -2752,10 +2753,12 @@ declare namespace ts {
|
|
|
2752
2753
|
isClass(): this is InterfaceType;
|
|
2753
2754
|
isIndexType(): this is IndexType;
|
|
2754
2755
|
}
|
|
2755
|
-
interface
|
|
2756
|
+
interface FreshableType extends Type {
|
|
2757
|
+
freshType: FreshableType;
|
|
2758
|
+
regularType: FreshableType;
|
|
2759
|
+
}
|
|
2760
|
+
interface LiteralType extends FreshableType {
|
|
2756
2761
|
value: string | number | PseudoBigInt;
|
|
2757
|
-
freshType: LiteralType;
|
|
2758
|
-
regularType: LiteralType;
|
|
2759
2762
|
}
|
|
2760
2763
|
interface UniqueESSymbolType extends Type {
|
|
2761
2764
|
symbol: Symbol;
|
|
@@ -2770,7 +2773,7 @@ declare namespace ts {
|
|
|
2770
2773
|
interface BigIntLiteralType extends LiteralType {
|
|
2771
2774
|
value: PseudoBigInt;
|
|
2772
2775
|
}
|
|
2773
|
-
interface EnumType extends
|
|
2776
|
+
interface EnumType extends FreshableType {
|
|
2774
2777
|
}
|
|
2775
2778
|
enum ObjectFlags {
|
|
2776
2779
|
None = 0,
|