mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[typer] Return a narrow-er type from makeType
This commit is contained in:
@@ -467,7 +467,7 @@ export type PolyType = {
|
||||
};
|
||||
|
||||
let typeCounter = 0;
|
||||
export function makeType(): Type {
|
||||
export function makeType(): TypeVar {
|
||||
return {
|
||||
kind: "Type",
|
||||
name: `t${typeCounter++}`, //TODO(gsn): Use a TypeID here
|
||||
|
||||
Reference in New Issue
Block a user