mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-31 08:07:10 -05:00
Treat BigInt type references in JSDoc as intended bigints (#60863)
This commit is contained in:
committed by
GitHub
parent
1c4083f4ed
commit
ce73b174f1
@@ -16684,6 +16684,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
|
||||
case "Number":
|
||||
checkNoTypeArguments(node);
|
||||
return numberType;
|
||||
case "BigInt":
|
||||
checkNoTypeArguments(node);
|
||||
return bigintType;
|
||||
case "Boolean":
|
||||
checkNoTypeArguments(node);
|
||||
return booleanType;
|
||||
|
||||
Reference in New Issue
Block a user