Move internal flag around
This commit is contained in:
parent
19ac7653f2
commit
805542a902
|
@ -48,10 +48,7 @@ namespace ts {
|
|||
export interface Push<T> {
|
||||
push(...values: T[]): void;
|
||||
}
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
namespace ts {
|
||||
/* @internal */
|
||||
export type EqualityComparer<T> = (a: T, b: T) => boolean;
|
||||
|
||||
|
@ -63,6 +60,10 @@ namespace ts {
|
|||
EqualTo = 0,
|
||||
GreaterThan = 1
|
||||
}
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
namespace ts {
|
||||
|
||||
/** Create a MapLike with good performance. */
|
||||
function createDictionaryObject<T>(): MapLike<T> {
|
||||
|
|
|
@ -5037,7 +5037,6 @@ namespace ts {
|
|||
}
|
||||
|
||||
// Simple node tests of the form `node.kind === SyntaxKind.Foo`.
|
||||
/* @internal */
|
||||
namespace ts {
|
||||
// Literals
|
||||
export function isNumericLiteral(node: Node): node is NumericLiteral {
|
||||
|
@ -5739,7 +5738,6 @@ namespace ts {
|
|||
//
|
||||
// All node tests in the following list should *not* reference parent pointers so that
|
||||
// they may be used with transformations.
|
||||
/* @internal */
|
||||
namespace ts {
|
||||
/* @internal */
|
||||
export function isSyntaxList(n: Node): n is SyntaxList {
|
||||
|
@ -7201,7 +7199,11 @@ namespace ts {
|
|||
return root + pathComponents.slice(1).join(directorySeparator);
|
||||
}
|
||||
|
||||
function getPathComponentsRelativeTo(from: string, to: string, stringEqualityComparer: (a: string, b: string) => boolean, getCanonicalFileName: GetCanonicalFileName) {
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
namespace ts {
|
||||
export function getPathComponentsRelativeTo(from: string, to: string, stringEqualityComparer: (a: string, b: string) => boolean, getCanonicalFileName: GetCanonicalFileName) {
|
||||
const fromComponents = reducePathComponents(getPathComponents(from));
|
||||
const toComponents = reducePathComponents(getPathComponents(to));
|
||||
|
||||
|
@ -8048,4 +8050,5 @@ namespace ts {
|
|||
}
|
||||
|
||||
return findBestPatternMatch(patterns, _ => _, candidate);
|
||||
}}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue