typescript 5.3.0-dev.20231023 → 5.3.0-dev.20231024
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 +346 -176
- package/lib/tsserver.js +350 -180
- package/lib/typescript.d.ts +12 -0
- package/lib/typescript.js +350 -180
- package/lib/typingsInstaller.js +24 -5
- package/package.json +2 -2
package/lib/typescript.d.ts
CHANGED
|
@@ -8386,6 +8386,18 @@ declare namespace ts {
|
|
|
8386
8386
|
createExportDefault(expression: Expression): ExportAssignment;
|
|
8387
8387
|
createExternalModuleExport(exportName: Identifier): ExportDeclaration;
|
|
8388
8388
|
restoreOuterExpressions(outerExpression: Expression | undefined, innerExpression: Expression, kinds?: OuterExpressionKinds): Expression;
|
|
8389
|
+
/**
|
|
8390
|
+
* Updates a node that may contain modifiers, replacing only the modifiers of the node.
|
|
8391
|
+
*/
|
|
8392
|
+
replaceModifiers<T extends HasModifiers>(node: T, modifiers: readonly Modifier[] | ModifierFlags | undefined): T;
|
|
8393
|
+
/**
|
|
8394
|
+
* Updates a node that may contain decorators or modifiers, replacing only the decorators and modifiers of the node.
|
|
8395
|
+
*/
|
|
8396
|
+
replaceDecoratorsAndModifiers<T extends HasModifiers & HasDecorators>(node: T, modifiers: readonly ModifierLike[] | undefined): T;
|
|
8397
|
+
/**
|
|
8398
|
+
* Updates a node that contains a property name, replacing only the name of the node.
|
|
8399
|
+
*/
|
|
8400
|
+
replacePropertyName<T extends AccessorDeclaration | MethodDeclaration | MethodSignature | PropertyDeclaration | PropertySignature | PropertyAssignment>(node: T, name: T["name"]): T;
|
|
8389
8401
|
}
|
|
8390
8402
|
interface CoreTransformationContext {
|
|
8391
8403
|
readonly factory: NodeFactory;
|