Skip to content

Commit

Permalink
Fixes extra generic (#956)
Browse files Browse the repository at this point in the history
* Fix generic

* changeset and apireport
  • Loading branch information
nihalbhatnagar authored Nov 5, 2024
1 parent af2a390 commit 31e7d70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-frogs-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osdk/api": patch
---

Fixes extra generic
2 changes: 1 addition & 1 deletion etc/api.report.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ export interface ObjectSet<Q extends ObjectOrInterfaceDefinition = any, _UNUSED
// Warning: (ae-forgotten-export) The symbol "EXPERIMENTAL_ObjectSetListener" needs to be exported by the entry point index.d.ts
//
// (undocumented)
readonly subscribe: <Q extends ObjectOrInterfaceDefinition, const P extends PropertyKeys<Q>>(properties: Array<P>, listener: EXPERIMENTAL_ObjectSetListener<Q, P>) => {
readonly subscribe: <const P extends PropertyKeys<Q>>(properties: Array<P>, listener: EXPERIMENTAL_ObjectSetListener<Q, P>) => {
unsubscribe: () => void;
};
readonly subtract: (...objectSets: ReadonlyArray<CompileTimeMetadata<Q>["objectSet"]>) => this;
Expand Down
1 change: 0 additions & 1 deletion packages/api/src/objectSet/ObjectSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ export interface ObjectSet<
: never;

readonly subscribe: <
Q extends ObjectOrInterfaceDefinition,
const P extends PropertyKeys<Q>,
>(
properties: Array<P>,
Expand Down

0 comments on commit 31e7d70

Please sign in to comment.