Skip to content

Commit

Permalink
Update type modeling for RealmRecord (#271)
Browse files Browse the repository at this point in the history
Co-authored-by: Jungyeom Kim <[email protected]>
  • Loading branch information
jhnaldo and kimjg1119 authored Dec 18, 2024
1 parent 55c5c83 commit 4bc6a2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/main/resources/manuals/tycheck-ignore.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"FunctionBody[0,0].EvaluateFunctionBody",
"GeneratorBody[0,0].EvaluateGeneratorBody",
"GetFunctionRealm",
"GetGlobalObject",
"GetViewByteLength",
"INTRINSICS.Array.prototype.toSpliced",
"INTRINSICS.AsyncFunction",
Expand All @@ -42,7 +41,6 @@
"Record[SourceTextModuleRecord].InitializeEnvironment",
"Record[SourceTextModuleRecord].ResolveExport",
"RelationalExpression[7,0].Evaluation",
"SetDefaultGlobalBindings",
"Statement[0,0].LabelledEvaluation",
"Statement[1,0].LabelledEvaluation",
"Statement[2,0].LabelledEvaluation",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/manuals/types
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ type ProxyExoticObject extends ExoticObject {
type RealmRecord {
AgentSignifier: Record[AgentSignifier];
Intrinsics: Map[String -> Record[Object]];
GlobalObject: Record[Object] | Undefined;
GlobalObject: Record[Object];
GlobalEnv: Record[GlobalEnvironmentRecord];
TemplateMap: List[Record[{ Site: Ast[TemplateLiteral], Array: Record[Array] }]];
LoadedModules: List[Record[{ Specifier: String, Module: Record[ModuleRecord] }]];
Expand Down

0 comments on commit 4bc6a2f

Please sign in to comment.