Skip to content

Commit 7749238

Browse files
Updated API baselines.
1 parent 8222247 commit 7749238

8 files changed

Lines changed: 28 additions & 32 deletions

tests/baselines/reference/APISample_compile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ declare module "typescript" {
746746
interface ExternalModuleReference extends Node {
747747
expression?: Expression;
748748
}
749-
interface ImportDeclaration extends Statement, ModuleElement {
749+
interface ImportDeclaration extends ModuleElement {
750750
importClause?: ImportClause;
751751
moduleSpecifier: Expression;
752752
}
@@ -888,7 +888,7 @@ declare module "typescript" {
888888
getConstantValue(node: EnumMember | PropertyAccessExpression | ElementAccessExpression): number;
889889
isValidPropertyAccess(node: PropertyAccessExpression | QualifiedName, propertyName: string): boolean;
890890
getAliasedSymbol(symbol: Symbol): Symbol;
891-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
891+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
892892
}
893893
interface SymbolDisplayBuilder {
894894
buildTypeDisplay(type: Type, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags): void;

tests/baselines/reference/APISample_compile.types

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,9 +2269,8 @@ declare module "typescript" {
22692269
>expression : Expression
22702270
>Expression : Expression
22712271
}
2272-
interface ImportDeclaration extends Statement, ModuleElement {
2272+
interface ImportDeclaration extends ModuleElement {
22732273
>ImportDeclaration : ImportDeclaration
2274-
>Statement : Statement
22752274
>ModuleElement : ModuleElement
22762275

22772276
importClause?: ImportClause;
@@ -2780,10 +2779,10 @@ declare module "typescript" {
27802779
>Symbol : Symbol
27812780
>Symbol : Symbol
27822781

2783-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
2784-
>getExportsOfExternalModule : (node: ImportDeclaration) => Symbol[]
2785-
>node : ImportDeclaration
2786-
>ImportDeclaration : ImportDeclaration
2782+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
2783+
>getExportsOfModule : (moduleSymbol: Symbol) => Symbol[]
2784+
>moduleSymbol : Symbol
2785+
>Symbol : Symbol
27872786
>Symbol : Symbol
27882787
}
27892788
interface SymbolDisplayBuilder {

tests/baselines/reference/APISample_linter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ declare module "typescript" {
777777
interface ExternalModuleReference extends Node {
778778
expression?: Expression;
779779
}
780-
interface ImportDeclaration extends Statement, ModuleElement {
780+
interface ImportDeclaration extends ModuleElement {
781781
importClause?: ImportClause;
782782
moduleSpecifier: Expression;
783783
}
@@ -919,7 +919,7 @@ declare module "typescript" {
919919
getConstantValue(node: EnumMember | PropertyAccessExpression | ElementAccessExpression): number;
920920
isValidPropertyAccess(node: PropertyAccessExpression | QualifiedName, propertyName: string): boolean;
921921
getAliasedSymbol(symbol: Symbol): Symbol;
922-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
922+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
923923
}
924924
interface SymbolDisplayBuilder {
925925
buildTypeDisplay(type: Type, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags): void;

tests/baselines/reference/APISample_linter.types

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,9 +2415,8 @@ declare module "typescript" {
24152415
>expression : Expression
24162416
>Expression : Expression
24172417
}
2418-
interface ImportDeclaration extends Statement, ModuleElement {
2418+
interface ImportDeclaration extends ModuleElement {
24192419
>ImportDeclaration : ImportDeclaration
2420-
>Statement : Statement
24212420
>ModuleElement : ModuleElement
24222421

24232422
importClause?: ImportClause;
@@ -2926,10 +2925,10 @@ declare module "typescript" {
29262925
>Symbol : Symbol
29272926
>Symbol : Symbol
29282927

2929-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
2930-
>getExportsOfExternalModule : (node: ImportDeclaration) => Symbol[]
2931-
>node : ImportDeclaration
2932-
>ImportDeclaration : ImportDeclaration
2928+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
2929+
>getExportsOfModule : (moduleSymbol: Symbol) => Symbol[]
2930+
>moduleSymbol : Symbol
2931+
>Symbol : Symbol
29332932
>Symbol : Symbol
29342933
}
29352934
interface SymbolDisplayBuilder {

tests/baselines/reference/APISample_transform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ declare module "typescript" {
778778
interface ExternalModuleReference extends Node {
779779
expression?: Expression;
780780
}
781-
interface ImportDeclaration extends Statement, ModuleElement {
781+
interface ImportDeclaration extends ModuleElement {
782782
importClause?: ImportClause;
783783
moduleSpecifier: Expression;
784784
}
@@ -920,7 +920,7 @@ declare module "typescript" {
920920
getConstantValue(node: EnumMember | PropertyAccessExpression | ElementAccessExpression): number;
921921
isValidPropertyAccess(node: PropertyAccessExpression | QualifiedName, propertyName: string): boolean;
922922
getAliasedSymbol(symbol: Symbol): Symbol;
923-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
923+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
924924
}
925925
interface SymbolDisplayBuilder {
926926
buildTypeDisplay(type: Type, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags): void;

tests/baselines/reference/APISample_transform.types

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,9 +2365,8 @@ declare module "typescript" {
23652365
>expression : Expression
23662366
>Expression : Expression
23672367
}
2368-
interface ImportDeclaration extends Statement, ModuleElement {
2368+
interface ImportDeclaration extends ModuleElement {
23692369
>ImportDeclaration : ImportDeclaration
2370-
>Statement : Statement
23712370
>ModuleElement : ModuleElement
23722371

23732372
importClause?: ImportClause;
@@ -2876,10 +2875,10 @@ declare module "typescript" {
28762875
>Symbol : Symbol
28772876
>Symbol : Symbol
28782877

2879-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
2880-
>getExportsOfExternalModule : (node: ImportDeclaration) => Symbol[]
2881-
>node : ImportDeclaration
2882-
>ImportDeclaration : ImportDeclaration
2878+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
2879+
>getExportsOfModule : (moduleSymbol: Symbol) => Symbol[]
2880+
>moduleSymbol : Symbol
2881+
>Symbol : Symbol
28832882
>Symbol : Symbol
28842883
}
28852884
interface SymbolDisplayBuilder {

tests/baselines/reference/APISample_watcher.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ declare module "typescript" {
815815
interface ExternalModuleReference extends Node {
816816
expression?: Expression;
817817
}
818-
interface ImportDeclaration extends Statement, ModuleElement {
818+
interface ImportDeclaration extends ModuleElement {
819819
importClause?: ImportClause;
820820
moduleSpecifier: Expression;
821821
}
@@ -957,7 +957,7 @@ declare module "typescript" {
957957
getConstantValue(node: EnumMember | PropertyAccessExpression | ElementAccessExpression): number;
958958
isValidPropertyAccess(node: PropertyAccessExpression | QualifiedName, propertyName: string): boolean;
959959
getAliasedSymbol(symbol: Symbol): Symbol;
960-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
960+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
961961
}
962962
interface SymbolDisplayBuilder {
963963
buildTypeDisplay(type: Type, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags): void;

tests/baselines/reference/APISample_watcher.types

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,9 +2538,8 @@ declare module "typescript" {
25382538
>expression : Expression
25392539
>Expression : Expression
25402540
}
2541-
interface ImportDeclaration extends Statement, ModuleElement {
2541+
interface ImportDeclaration extends ModuleElement {
25422542
>ImportDeclaration : ImportDeclaration
2543-
>Statement : Statement
25442543
>ModuleElement : ModuleElement
25452544

25462545
importClause?: ImportClause;
@@ -3049,10 +3048,10 @@ declare module "typescript" {
30493048
>Symbol : Symbol
30503049
>Symbol : Symbol
30513050

3052-
getExportsOfExternalModule(node: ImportDeclaration): Symbol[];
3053-
>getExportsOfExternalModule : (node: ImportDeclaration) => Symbol[]
3054-
>node : ImportDeclaration
3055-
>ImportDeclaration : ImportDeclaration
3051+
getExportsOfModule(moduleSymbol: Symbol): Symbol[];
3052+
>getExportsOfModule : (moduleSymbol: Symbol) => Symbol[]
3053+
>moduleSymbol : Symbol
3054+
>Symbol : Symbol
30563055
>Symbol : Symbol
30573056
}
30583057
interface SymbolDisplayBuilder {

0 commit comments

Comments
 (0)