Closed
Description
There's currently a NumericLiteral:
https://github.com/Microsoft/TypeScript/blob/master/src/compiler/types.ts#L23
And a numberIndex:
https://github.com/Microsoft/TypeScript/blob/master/src/compiler/types.ts#L1507
I'm trying to add:
export interface NumberSetType extends Type {
start: number;
end: number;
/* @internal */
sparseValues?: number[];
}
Should this be called a NumericSetType?
My preference would be to rename NumericLiteral to NumberLiteral, and keeping NumericLiteral as backwards compat. Is that too much of a big change?