typescript 5.4.0-dev.20240110 → 5.4.0-dev.20240112
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/lib.esnext.collection.d.ts +29 -0
- package/lib/lib.esnext.d.ts +2 -0
- package/lib/lib.esnext.object.d.ts +29 -0
- package/lib/tsc.js +173 -63
- package/lib/tsserver.js +259 -72
- package/lib/typescript.d.ts +6 -2
- package/lib/typescript.js +259 -72
- package/lib/typingsInstaller.js +4 -2
- package/package.json +2 -2
package/lib/typescript.d.ts
CHANGED
|
@@ -7076,6 +7076,7 @@ declare namespace ts {
|
|
|
7076
7076
|
Default = "default",
|
|
7077
7077
|
This = "this",
|
|
7078
7078
|
InstantiationExpression = "__instantiationExpression",
|
|
7079
|
+
ImportAttributes = "__importAttributes",
|
|
7079
7080
|
}
|
|
7080
7081
|
/**
|
|
7081
7082
|
* This represents a string whose leading underscore have been escaped by adding extra leading underscores.
|
|
@@ -9197,6 +9198,7 @@ declare namespace ts {
|
|
|
9197
9198
|
function isForInitializer(node: Node): node is ForInitializer;
|
|
9198
9199
|
function isModuleBody(node: Node): node is ModuleBody;
|
|
9199
9200
|
function isNamedImportBindings(node: Node): node is NamedImportBindings;
|
|
9201
|
+
function isDeclarationStatement(node: Node): node is DeclarationStatement;
|
|
9200
9202
|
function isStatement(node: Node): node is Statement;
|
|
9201
9203
|
function isModuleReference(node: Node): node is ModuleReference;
|
|
9202
9204
|
function isJsxTagNameExpression(node: Node): node is JsxTagNameExpression;
|
|
@@ -9216,11 +9218,13 @@ declare namespace ts {
|
|
|
9216
9218
|
function isJSDocLinkLike(node: Node): node is JSDocLink | JSDocLinkCode | JSDocLinkPlain;
|
|
9217
9219
|
function hasRestParameter(s: SignatureDeclaration | JSDocSignature): boolean;
|
|
9218
9220
|
function isRestParameter(node: ParameterDeclaration | JSDocParameterTag): boolean;
|
|
9221
|
+
function isInternalDeclaration(node: Node, sourceFile?: SourceFile): boolean;
|
|
9219
9222
|
const unchangedTextChangeRange: TextChangeRange;
|
|
9220
9223
|
type ParameterPropertyDeclaration = ParameterDeclaration & {
|
|
9221
9224
|
parent: ConstructorDeclaration;
|
|
9222
9225
|
name: Identifier;
|
|
9223
9226
|
};
|
|
9227
|
+
function isPartOfTypeNode(node: Node): boolean;
|
|
9224
9228
|
/**
|
|
9225
9229
|
* This function checks multiple locations for JSDoc comments that apply to a host node.
|
|
9226
9230
|
* At each location, the whole comment may apply to the node, or only a specific tag in
|
|
@@ -9859,7 +9863,7 @@ declare namespace ts {
|
|
|
9859
9863
|
* @param visitor The callback used to visit each child.
|
|
9860
9864
|
* @param context A lexical environment context for the visitor.
|
|
9861
9865
|
*/
|
|
9862
|
-
function visitEachChild<T extends Node>(node: T, visitor: Visitor, context: TransformationContext): T;
|
|
9866
|
+
function visitEachChild<T extends Node>(node: T, visitor: Visitor, context: TransformationContext | undefined): T;
|
|
9863
9867
|
/**
|
|
9864
9868
|
* Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.
|
|
9865
9869
|
*
|
|
@@ -9867,7 +9871,7 @@ declare namespace ts {
|
|
|
9867
9871
|
* @param visitor The callback used to visit each child.
|
|
9868
9872
|
* @param context A lexical environment context for the visitor.
|
|
9869
9873
|
*/
|
|
9870
|
-
function visitEachChild<T extends Node>(node: T | undefined, visitor: Visitor, context: TransformationContext, nodesVisitor?: typeof visitNodes, tokenVisitor?: Visitor): T | undefined;
|
|
9874
|
+
function visitEachChild<T extends Node>(node: T | undefined, visitor: Visitor, context: TransformationContext | undefined, nodesVisitor?: typeof visitNodes, tokenVisitor?: Visitor): T | undefined;
|
|
9871
9875
|
function getTsBuildInfoEmitOutputFilePath(options: CompilerOptions): string | undefined;
|
|
9872
9876
|
function getOutputFileNames(commandLine: ParsedCommandLine, inputFileName: string, ignoreCase: boolean): readonly string[];
|
|
9873
9877
|
function createPrinter(printerOptions?: PrinterOptions, handlers?: PrintHandlers): Printer;
|