Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Feb 21, 2024
1 parent cb096ed commit a8acc95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gold-carrots-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@arethetypeswrong/core": patch
---

Add `allowDeprecated` to options accepted by `createPackageFromNpm` API
2 changes: 1 addition & 1 deletion packages/core/src/createPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export async function createPackageFromNpm(
export async function resolveImplementationPackageForTypesPackage(
typesPackageName: string,
typesPackageVersion: string,
options?: Pick<CreatePackageFromNpmOptions, "before">,
options?: Omit<CreatePackageFromNpmOptions, "definitelyTyped">,
): Promise<ResolvedPackageId> {
if (!typesPackageName.startsWith("@types/")) {
throw new Error(`'resolveImplementationPackageForTypesPackage' expects an @types package name and version`);
Expand Down

0 comments on commit a8acc95

Please sign in to comment.