mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 06:02:53 -05:00
Correct strings based on linting rules
This commit is contained in:
@@ -10033,8 +10033,8 @@ namespace ts {
|
||||
return isTypeAny(type) || isTypeOfKind(type, kind);
|
||||
}
|
||||
|
||||
function isInfinityOrNaNString(name: string) : boolean {
|
||||
return name === 'Infinity' || name === '-Infinity' || name === 'NaN';
|
||||
function isInfinityOrNaNString(name: string): boolean {
|
||||
return name === "Infinity" || name === "-Infinity" || name === "NaN";
|
||||
}
|
||||
|
||||
function isNumericLiteralName(name: string) {
|
||||
|
||||
Reference in New Issue
Block a user