Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ #core/context pass TS type-checking #37185

Merged
merged 15 commits into from
Dec 13, 2021
Merged

Conversation

rcebulko
Copy link
Contributor

@rcebulko rcebulko commented Dec 10, 2021

Partial for #34096

@amp-owners-bot
Copy link

Hey @jridgewell! These files were changed:

src/core/context/index.js
src/core/context/node.js
src/core/context/prop.js
src/core/context/prop.type.js
src/core/context/scan.js
src/core/context/scheduler.js
src/core/context/subscriber.js
src/core/context/types.d.ts
src/core/context/values.js
src/core/tsconfig.json

@rcebulko rcebulko enabled auto-merge (squash) December 13, 2021 16:41
Copy link
Member

@samouri samouri left a comment

Choose a reason for hiding this comment

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

Mostly questions FMI, this looks really good.

src/core/context/node.js Show resolved Hide resolved
src/core/context/node.js Show resolved Hide resolved
src/core/context/scan.js Show resolved Hide resolved
src/core/context/subscriber.js Show resolved Hide resolved
@@ -3,7 +3,6 @@ import {
reducer as loadingReducer,
} from '#core/constants/loading-instructions';
import {contextProp} from '#core/context/prop';
import {ContextPropDef} from '#core/context/prop.type';
Copy link
Member

Choose a reason for hiding this comment

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

We'll likely need to add an import() comment later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but it'll also require updating the name everywhere in the file, so not bothering to update the whole file right now.

src/core/context/values.js Show resolved Hide resolved
src/core/context/values.js Show resolved Hide resolved
Copy link
Member

@samouri samouri left a comment

Choose a reason for hiding this comment

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

bundle size override

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