-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
[meteor]: Added OptionalId<T> to insert() method. Inspired by @types/mongo #39933
[meteor]: Added OptionalId<T> to insert() method. Inspired by @types/mongo #39933
Conversation
There seem to be some problems with union types when using Omit. The pull-request ought not to be approved until those are solved. |
@nicu-chiciuc Thank you for submitting this PR! 🔔 @barbatus @fullflavedave @orefalo @dagatsoin @birkskyum @ardatan @stefanholzapfel @andrei-markeev @lmachens @gunn @alesn @perbergland - please review this PR in the next few days. Be sure to explicitly select If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead. |
Since you're a listed owner and the build passed, this PR is fast-tracked. A maintainer will merge shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped! |
I've changed the definition of
Based on microsoft/TypeScript#28791 (comment) |
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
@nicu-chiciuc - It appears Travis did not correctly run on this PR! /cc @RyanCavanaugh to investigate and advise. |
Hi @RyanCavanaugh . The bot suggested that I /cc you and ask you to investigate and advise. |
I just published |
npm test
.)npm run lint package-name
(ortsc
if notslint.json
is present).If changing an existing definition:
When trying to insert into a collection which is defined to have an
_id
, Typescript will err. This is change is based on the type definition for mongodb.