// WARNING: The script `configurePrerelease.ts` uses a regexp to parse out these values. // If changing the text in this section, be sure to test `configurePrerelease` too. export const versionMajorMinor = "5.9"; // The following is baselined as a literal template type without intervention /** The version of the TypeScript compiler release */ export const version: string = `${versionMajorMinor}.0-dev`; /** * Type of objects whose values are all of the same type. * The `in` and `for-in` operators can *not* be safely used, * since `Object.prototype` may be modified by outside code. */ export interface MapLike { [index: string]: T; } export interface SortedReadonlyArray extends ReadonlyArray { " __sortedArrayBrand": any; } export interface SortedArray extends Array { " __sortedArrayBrand": any; } /** * Common read methods for ES6 Map/Set. * * @internal */ export interface ReadonlyCollection { readonly size: number; has(key: K): boolean; keys(): IterableIterator; } /** @internal */ export type EqualityComparer = (a: T, b: T) => boolean; /** @internal */ export type Comparer = (a: T, b: T) => Comparison; /** @internal */ export const enum Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1, }