Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed tests
  • Loading branch information
Andarist committed Feb 25, 2023
commit f94b780c98fbd484dc320a56eca4c19c0a7b26ff
1 change: 1 addition & 0 deletions src/harness/fourslashInterfaceImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,7 @@ export namespace Completion {
typeEntry("Lowercase"),
typeEntry("Capitalize"),
typeEntry("Uncapitalize"),
typeEntry("NoInfer"),
interfaceEntry("ThisType"),
varEntry("ArrayBuffer"),
interfaceEntry("ArrayBufferTypes"),
Expand Down
13 changes: 9 additions & 4 deletions tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6674,6 +6674,7 @@ declare namespace ts {
NonPrimitive = 67108864,
TemplateLiteral = 134217728,
StringMapping = 268435456,
NoInfer = 536870912,
Literal = 2944,
Unit = 109472,
Freshable = 2976,
Expand All @@ -6689,11 +6690,11 @@ declare namespace ts {
UnionOrIntersection = 3145728,
StructuredType = 3670016,
TypeVariable = 8650752,
InstantiableNonPrimitive = 58982400,
InstantiableNonPrimitive = 595853312,
InstantiablePrimitive = 406847488,
Instantiable = 465829888,
StructuredOrInstantiable = 469499904,
Narrowable = 536624127
Instantiable = 1002700800,
StructuredOrInstantiable = 1006370816,
Narrowable = 1073495039
}
type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
interface Type {
Expand Down Expand Up @@ -6888,6 +6889,10 @@ declare namespace ts {
symbol: Symbol;
type: Type;
}
interface NoInferType extends InstantiableType {
symbol: Symbol;
type: Type;
}
interface SubstitutionType extends InstantiableType {
objectFlags: ObjectFlags;
baseType: Type;
Expand Down
13 changes: 9 additions & 4 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2699,6 +2699,7 @@ declare namespace ts {
NonPrimitive = 67108864,
TemplateLiteral = 134217728,
StringMapping = 268435456,
NoInfer = 536870912,
Literal = 2944,
Unit = 109472,
Freshable = 2976,
Expand All @@ -2714,11 +2715,11 @@ declare namespace ts {
UnionOrIntersection = 3145728,
StructuredType = 3670016,
TypeVariable = 8650752,
InstantiableNonPrimitive = 58982400,
InstantiableNonPrimitive = 595853312,
InstantiablePrimitive = 406847488,
Instantiable = 465829888,
StructuredOrInstantiable = 469499904,
Narrowable = 536624127
Instantiable = 1002700800,
StructuredOrInstantiable = 1006370816,
Narrowable = 1073495039
}
type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
interface Type {
Expand Down Expand Up @@ -2913,6 +2914,10 @@ declare namespace ts {
symbol: Symbol;
type: Type;
}
interface NoInferType extends InstantiableType {
symbol: Symbol;
type: Type;
}
interface SubstitutionType extends InstantiableType {
objectFlags: ObjectFlags;
baseType: Type;
Expand Down