Skip to content

Commit 051c7b0

Browse files
committed
Refine the search set instead of filtering to implementations
1 parent 457b67f commit 051c7b0

5 files changed

Lines changed: 91 additions & 191 deletions

File tree

src/compiler/checker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ namespace ts {
103103

104104
getJsxElementAttributesType,
105105
getJsxIntrinsicTagNames,
106-
isOptionalParameter,
107-
isTypeAssignableTo
106+
isOptionalParameter
108107
};
109108

110109
const tupleTypes = createMap<TupleType>();

src/compiler/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,6 @@ namespace ts {
18891889
getJsxElementAttributesType(elementNode: JsxOpeningLikeElement): Type;
18901890
getJsxIntrinsicTagNames(): Symbol[];
18911891
isOptionalParameter(node: ParameterDeclaration): boolean;
1892-
isTypeAssignableTo(source: Type, target: Type): boolean;
18931892

18941893
// Should not be called directly. Should only be accessed through the Program instance.
18951894
/* @internal */ getDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): Diagnostic[];

0 commit comments

Comments
 (0)