typescript 4.6.0-dev.20220117 → 4.6.0-dev.20220121

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.
@@ -1652,7 +1652,7 @@ declare namespace ts {
1652
1652
  readonly kind: SyntaxKind.AssertEntry;
1653
1653
  readonly parent: AssertClause;
1654
1654
  readonly name: AssertionKey;
1655
- readonly value: StringLiteral;
1655
+ readonly value: Expression;
1656
1656
  }
1657
1657
  export interface AssertClause extends Node {
1658
1658
  readonly kind: SyntaxKind.AssertClause;
@@ -3576,8 +3576,8 @@ declare namespace ts {
3576
3576
  updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
3577
3577
  createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
3578
3578
  updateAssertClause(node: AssertClause, elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
3579
- createAssertEntry(name: AssertionKey, value: StringLiteral): AssertEntry;
3580
- updateAssertEntry(node: AssertEntry, name: AssertionKey, value: StringLiteral): AssertEntry;
3579
+ createAssertEntry(name: AssertionKey, value: Expression): AssertEntry;
3580
+ updateAssertEntry(node: AssertEntry, name: AssertionKey, value: Expression): AssertEntry;
3581
3581
  createNamespaceImport(name: Identifier): NamespaceImport;
3582
3582
  updateNamespaceImport(node: NamespaceImport, name: Identifier): NamespaceImport;
3583
3583
  createNamespaceExport(name: Identifier): NamespaceExport;
@@ -6594,6 +6594,7 @@ declare namespace ts {
6594
6594
  externalModuleName = "external module name",
6595
6595
  /**
6596
6596
  * <JsxTagName attribute1 attribute2={0} />
6597
+ * @deprecated
6597
6598
  */
6598
6599
  jsxAttribute = "JSX attribute",
6599
6600
  /** String literal */
@@ -9874,6 +9875,7 @@ declare namespace ts.server {
9874
9875
  writeFile(fileName: string, content: string): void;
9875
9876
  fileExists(file: string): boolean;
9876
9877
  resolveModuleNames(moduleNames: string[], containingFile: string, reusedNames?: string[], redirectedReference?: ResolvedProjectReference, _options?: CompilerOptions, containingSourceFile?: SourceFile): (ResolvedModuleFull | undefined)[];
9878
+ getModuleResolutionCache(): ModuleResolutionCache | undefined;
9877
9879
  getResolvedModuleWithFailedLookupLocationsFromCache(moduleName: string, containingFile: string, resolutionMode?: ModuleKind.CommonJS | ModuleKind.ESNext): ResolvedModuleWithFailedLookupLocations | undefined;
9878
9880
  resolveTypeReferenceDirectives(typeDirectiveNames: string[], containingFile: string, redirectedReference?: ResolvedProjectReference): (ResolvedTypeReferenceDirective | undefined)[];
9879
9881
  directoryExists(path: string): boolean;