diff --git a/packages/client/changelog/@unreleased/pr-104.v2.yml b/packages/client/changelog/@unreleased/pr-104.v2.yml new file mode 100644 index 000000000..0195e2ddb --- /dev/null +++ b/packages/client/changelog/@unreleased/pr-104.v2.yml @@ -0,0 +1,5 @@ +type: fix +fix: + description: Fix action params + links: + - https://github.com/palantir/osdk-ts/pull/104 diff --git a/packages/client/src/actions/Actions.ts b/packages/client/src/actions/Actions.ts index 6e74383e7..b514d1586 100644 --- a/packages/client/src/actions/Actions.ts +++ b/packages/client/src/actions/Actions.ts @@ -31,7 +31,7 @@ import type { Attachment } from "../object/Attachment.js"; import type { Osdk, OsdkObjectPrimaryKeyType } from "../OsdkObjectFrom.js"; import type { NOOP } from "../util/NOOP.js"; import type { NullableProps } from "../util/NullableProps.js"; -import type { PartialByNotStrict } from "../util/PartialBy.js"; +import type { PartialBy } from "../util/PartialBy.js"; import type { ActionReturnTypeForOptions } from "./applyAction.js"; export type ApplyActionOptions = @@ -67,7 +67,7 @@ type NotOptionalParams = { export type OsdkActionParameters< X extends ActionParametersDefinition, > = NullableProps extends never ? NotOptionalParams - : PartialByNotStrict, NullableProps>; + : PartialBy, NullableProps>; export type ActionSignatureFromDef> = NonNullable extends never