@@ -7,7 +7,7 @@ License at http://www.apache.org/licenses/LICENSE-2.0
77THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
88KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
99WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10- MERCHANTABLITY OR NON-INFRINGEMENT.
10+ MERCHANTABILITY OR NON-INFRINGEMENT.
1111
1212See the Apache Version 2.0 License for specific language governing permissions
1313and limitations under the License.
@@ -2530,6 +2530,7 @@ declare namespace ts {
25302530 Node = "node",
25312531 /** @deprecated Renamed to `Node10` */
25322532 NodeJs = "node",
2533+ /** @deprecated */
25332534 Node10 = "node10",
25342535 Node16 = "node16",
25352536 NodeNext = "nodenext",
@@ -2542,6 +2543,7 @@ declare namespace ts {
25422543 export enum ScriptTarget {
25432544 /** @deprecated */
25442545 ES3 = "es3",
2546+ /** @deprecated */
25452547 ES5 = "es5",
25462548 ES6 = "es6",
25472549 ES2015 = "es2015",
@@ -2554,9 +2556,11 @@ declare namespace ts {
25542556 ES2022 = "es2022",
25552557 ES2023 = "es2023",
25562558 ES2024 = "es2024",
2559+ ES2025 = "es2025",
25572560 ESNext = "esnext",
25582561 JSON = "json",
25592562 Latest = "esnext",
2563+ LatestStandard = "es2025",
25602564 }
25612565 }
25622566 namespace typingsInstaller {
@@ -3646,7 +3650,7 @@ declare namespace ts {
36463650 readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
36473651 }
36483652 }
3649- const versionMajorMinor = "5.9 ";
3653+ const versionMajorMinor = "6.0 ";
36503654 /** The version of the TypeScript compiler release */
36513655 const version: string;
36523656 /**
@@ -5907,7 +5911,6 @@ declare namespace ts {
59075911 */
59085912 interface SourceFileLike {
59095913 readonly text: string;
5910- languageVariant?: LanguageVariant;
59115914 }
59125915 interface SourceFileLike {
59135916 getLineAndCharacterOfPosition(pos: number): LineAndCharacter;
@@ -5926,14 +5929,7 @@ declare namespace ts {
59265929 libReferenceDirectives: readonly FileReference[];
59275930 languageVariant: LanguageVariant;
59285931 isDeclarationFile: boolean;
5929- /**
5930- * lib.d.ts should have a reference comment like
5931- *
5932- * /// <reference no-default-lib="true"/>
5933- *
5934- * If any other file has this comment, it signals not to include lib.d.ts
5935- * because this containing file is intended to act as a default library.
5936- */
5932+ /** @deprecated Always false. Use a Program to determine if a file is a lib file. */
59375933 hasNoDefaultLib: boolean;
59385934 languageVersion: ScriptTarget;
59395935 /**
@@ -6598,53 +6594,53 @@ declare namespace ts {
65986594 enum TypeFlags {
65996595 Any = 1,
66006596 Unknown = 2,
6601- String = 4,
6602- Number = 8,
6603- Boolean = 16,
6604- Enum = 32,
6605- BigInt = 64,
6606- StringLiteral = 128,
6607- NumberLiteral = 256,
6608- BooleanLiteral = 512,
6609- EnumLiteral = 1024,
6610- BigIntLiteral = 2048,
6611- ESSymbol = 4096,
6612- UniqueESSymbol = 8192,
6613- Void = 16384,
6614- Undefined = 32768,
6615- Null = 65536,
6616- Never = 131072,
6617- TypeParameter = 262144,
6618- Object = 524288,
6619- Union = 1048576,
6620- Intersection = 2097152,
6621- Index = 4194304,
6622- IndexedAccess = 8388608,
6623- Conditional = 16777216,
6624- Substitution = 33554432,
6625- NonPrimitive = 67108864,
6626- TemplateLiteral = 134217728,
6627- StringMapping = 268435456,
6628- Literal = 2944 ,
6629- Unit = 109472 ,
6630- Freshable = 2976 ,
6631- StringOrNumberLiteral = 384 ,
6632- PossiblyFalsy = 117724 ,
6633- StringLike = 402653316 ,
6634- NumberLike = 296 ,
6635- BigIntLike = 2112 ,
6636- BooleanLike = 528 ,
6637- EnumLike = 1056 ,
6638- ESSymbolLike = 12288 ,
6639- VoidLike = 49152 ,
6640- UnionOrIntersection = 3145728 ,
6641- StructuredType = 3670016 ,
6642- TypeVariable = 8650752 ,
6643- InstantiableNonPrimitive = 58982400 ,
6644- InstantiablePrimitive = 406847488 ,
6645- Instantiable = 465829888 ,
6646- StructuredOrInstantiable = 469499904 ,
6647- Narrowable = 536624127 ,
6597+ Undefined = 4,
6598+ Null = 8,
6599+ Void = 16,
6600+ String = 32,
6601+ Number = 64,
6602+ BigInt = 128,
6603+ Boolean = 256,
6604+ ESSymbol = 512,
6605+ StringLiteral = 1024,
6606+ NumberLiteral = 2048,
6607+ BigIntLiteral = 4096,
6608+ BooleanLiteral = 8192,
6609+ UniqueESSymbol = 16384,
6610+ EnumLiteral = 32768,
6611+ Enum = 65536,
6612+ NonPrimitive = 131072,
6613+ Never = 262144,
6614+ TypeParameter = 524288,
6615+ Object = 1048576,
6616+ Index = 2097152,
6617+ TemplateLiteral = 4194304,
6618+ StringMapping = 8388608,
6619+ Substitution = 16777216,
6620+ IndexedAccess = 33554432,
6621+ Conditional = 67108864,
6622+ Union = 134217728,
6623+ Intersection = 268435456,
6624+ Literal = 15360 ,
6625+ Unit = 97292 ,
6626+ Freshable = 80896 ,
6627+ StringOrNumberLiteral = 3072 ,
6628+ PossiblyFalsy = 15868 ,
6629+ StringLike = 12583968 ,
6630+ NumberLike = 67648 ,
6631+ BigIntLike = 4224 ,
6632+ BooleanLike = 8448 ,
6633+ EnumLike = 98304 ,
6634+ ESSymbolLike = 16896 ,
6635+ VoidLike = 20 ,
6636+ UnionOrIntersection = 402653184 ,
6637+ StructuredType = 403701760 ,
6638+ TypeVariable = 34078720 ,
6639+ InstantiableNonPrimitive = 117964800 ,
6640+ InstantiablePrimitive = 14680064 ,
6641+ Instantiable = 132644864 ,
6642+ StructuredOrInstantiable = 536346624 ,
6643+ Narrowable = 536575971 ,
66486644 }
66496645 type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
66506646 interface Type {
@@ -6951,13 +6947,17 @@ declare namespace ts {
69516947 Message = 3,
69526948 }
69536949 enum ModuleResolutionKind {
6950+ /** @deprecated */
69546951 Classic = 1,
69556952 /**
69566953 * @deprecated
69576954 * `NodeJs` was renamed to `Node10` to better reflect the version of Node that it targets.
69586955 * Use the new name or consider switching to a modern module resolution target.
69596956 */
69606957 NodeJs = 2,
6958+ /**
6959+ * @deprecated
6960+ */
69616961 Node10 = 2,
69626962 Node16 = 3,
69636963 NodeNext = 99,
@@ -7020,6 +7020,7 @@ declare namespace ts {
70207020 allowUnreachableCode?: boolean;
70217021 allowUnusedLabels?: boolean;
70227022 alwaysStrict?: boolean;
7023+ /** @deprecated */
70237024 baseUrl?: string;
70247025 /** @deprecated */
70257026 charset?: string;
@@ -7033,6 +7034,7 @@ declare namespace ts {
70337034 disableSourceOfProjectReferenceRedirect?: boolean;
70347035 disableSolutionSearching?: boolean;
70357036 disableReferencedProjectLoad?: boolean;
7037+ /** @deprecated */
70367038 downlevelIteration?: boolean;
70377039 emitBOM?: boolean;
70387040 emitDecoratorMetadata?: boolean;
@@ -7150,10 +7152,14 @@ declare namespace ts {
71507152 [option: string]: CompilerOptionsValue | undefined;
71517153 }
71527154 enum ModuleKind {
7155+ /** @deprecated */
71537156 None = 0,
71547157 CommonJS = 1,
7158+ /** @deprecated */
71557159 AMD = 2,
7160+ /** @deprecated */
71567161 UMD = 3,
7162+ /** @deprecated */
71577163 System = 4,
71587164 ES2015 = 5,
71597165 ES2020 = 6,
@@ -7205,6 +7211,7 @@ declare namespace ts {
72057211 enum ScriptTarget {
72067212 /** @deprecated */
72077213 ES3 = 0,
7214+ /** @deprecated */
72087215 ES5 = 1,
72097216 ES2015 = 2,
72107217 ES2016 = 3,
@@ -7216,9 +7223,11 @@ declare namespace ts {
72167223 ES2022 = 9,
72177224 ES2023 = 10,
72187225 ES2024 = 11,
7226+ ES2025 = 12,
72197227 ESNext = 99,
72207228 JSON = 100,
72217229 Latest = 99,
7230+ LatestStandard = 12,
72227231 }
72237232 enum LanguageVariant {
72247233 Standard = 0,
@@ -9320,7 +9329,7 @@ declare namespace ts {
93209329 * Given a set of options, returns the set of type directive names
93219330 * that should be included for this program automatically.
93229331 * This list could either come from the config file,
9323- * or from enumerating the types root + initial secondary types lookup location.
9332+ * and/ or from enumerating the types root + initial secondary types lookup location given "*" compat wildcard .
93249333 * More type directives might appear in the program later as a result of loading actual source files;
93259334 * this list is only the set of defaults that are implicitly included.
93269335 */
@@ -10039,6 +10048,7 @@ declare namespace ts {
1003910048 libReferenceDirectives: FileReference[];
1004010049 importedFiles: FileReference[];
1004110050 ambientExternalModules?: string[];
10051+ /** @deprecated Always false. Use a Program to determine if a file is a lib file. */
1004210052 isLibFile: boolean;
1004310053 }
1004410054 interface HostCancellationToken {
0 commit comments