fix: use anchor elements for packages to allow cmd+click #87
Annotations
7 errors and 1 warning
Typecheck:
app/controllers/packages_controller.ts#L30
Argument of type '{ package: { firstReleaseAt: string | undefined; lastReleaseAt: string | undefined; stars: number | undefined; downloads: number | undefined; name: string; slug: string; description: string; ... 8 more ...; keywords?: string[] | undefined; }; readme: string; }' is not assignable to parameter of type 'GetPackageResponse'.
|
Typecheck:
app/services/packages_fetcher.ts#L143
Type 'PackageInfo[]' is not assignable to type '{ firstReleaseAt: string | undefined; lastReleaseAt: string | undefined; stars: number | undefined; downloads: number | undefined; name: string; slug: string; description: string; ... 8 more ...; keywords?: string[] | undefined; }[]'.
|
Typecheck:
app/services/packages_fetcher.ts#L143
Argument of type '{ firstReleaseAt: string | undefined; lastReleaseAt: string | undefined; stars: number | undefined; downloads: number | undefined; name: string; slug: string; description: string; ... 8 more ...; keywords?: string[] | undefined; }[]' is not assignable to parameter of type 'PackageInfo[]'.
|
Typecheck:
app/services/packages_fetcher.ts#L144
Type 'PackageInfo[]' is not assignable to type '{ firstReleaseAt: string | undefined; lastReleaseAt: string | undefined; stars: number | undefined; downloads: number | undefined; name: string; slug: string; description: string; ... 8 more ...; keywords?: string[] | undefined; }[]'.
|
Typecheck:
app/services/packages_fetcher.ts#L144
Argument of type '{ firstReleaseAt: string | undefined; lastReleaseAt: string | undefined; stars: number | undefined; downloads: number | undefined; name: string; slug: string; description: string; ... 8 more ...; keywords?: string[] | undefined; }[]' is not assignable to parameter of type 'PackageInfo[]'.
|
Typecheck:
app/services/packages_fetcher.ts#L152
Argument of type '{ firstReleaseAt: string | undefined; lastReleaseAt: string | undefined; stars: number | undefined; downloads: number | undefined; name: string; slug: string; description: string; ... 8 more ...; keywords?: string[] | undefined; }[]' is not assignable to parameter of type 'PackageInfo[]'.
|
Typecheck
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading