Skip to content

Conversation

josephsavona
Copy link
Member

@josephsavona josephsavona commented May 1, 2025

Stack from ghstack (oldest at bottom):

Building on @mofeiZ's recent work to type constructors. Also, types for reanimated values which are useful in the next PR.

Building on @mofeiZ's recent work to type constructors. Also, types for reanimated values which are useful in the next PR.

[ghstack-poisoned]
…shared values"

Building on mofeiz's recent work to type constructors. Also, types for reanimated values which are useful in the next PR.

[ghstack-poisoned]
addFunction(BUILTIN_SHAPES, [], {
positionalParams: [Effect.Capture],
restParam: null,
returnType: {kind: 'Object', shapeId: BuiltInSetId},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: returns BuiltInWeakSetId

addFunction(BUILTIN_SHAPES, [], {
positionalParams: [Effect.Capture, Effect.Capture],
restParam: null,
returnType: {kind: 'Object', shapeId: BuiltInMapId},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: returns BuiltInWeakMapId

Copy link
Contributor

@mofeiZ mofeiZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! should we also add some test fixtures?

…shared values"

Building on mofeiz's recent work to type constructors. Also, types for reanimated values which are useful in the next PR.

[ghstack-poisoned]
…shared values"

Building on mofeiz's recent work to type constructors. Also, types for reanimated values which are useful in the next PR.

[ghstack-poisoned]
@josephsavona
Copy link
Member Author

good call, added fixtures

@josephsavona josephsavona merged commit c99bb3f into gh/josephsavona/73/base May 3, 2025
20 checks passed
josephsavona added a commit that referenced this pull request May 3, 2025
Building on mofeiz's recent work to type constructors. Also, types for reanimated values which are useful in the next PR.

ghstack-source-id: 1c81e21
Pull Request resolved: #33077
@josephsavona josephsavona deleted the gh/josephsavona/73/head branch May 3, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants