We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daacc54 commit c4fe283Copy full SHA for c4fe283
src/extractor.ts
@@ -102,10 +102,8 @@ export class Extractor {
102
logger?.warn('normalizePackageJson from PkgPath', pkg.path, 'failed:', e)
103
}
104
105
- const component = this.#componentBuilder.makeComponent(
106
- /* @ts-expect-error TS2559 */
107
- pkg.packageJson as PackageDescription) /* eslint-disable-line @typescript-eslint/no-unsafe-type-assertion -- ack */
108
-
+ /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument -- ack */
+ const component = this.#componentBuilder.makeComponent(pkg.packageJson )
109
if (component === undefined) {
110
throw new Error(`failed building Component from PkgPath ${pkg.path}`)
111
0 commit comments