Skip to content

Generate JsTrimmer summaries. #943

Generate JsTrimmer summaries.

Generate JsTrimmer summaries. #943

Triggered via pull request October 10, 2023 20:31
Status Failure
Total duration 39s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: demo/demo.ts#L158
Property 'generateSummary' is missing in type '{ rootDirsRelative: (f: string) => string; shouldSkipTsickleProcessing: (fileName: string) => boolean; shouldIgnoreWarningsForPath: (fileName: string) => boolean; pathToModuleName: (context: string, fileName: string) => string; ... 9 more ...; transformDynamicImport: "nodejs"; }' but required in type 'TsickleHost'.
build: demo/demo.ts#L180
Property 'fileSummaries' is missing in type '{ tsMigrationExportsShimFiles: Map<any, any>; diagnostics: readonly ts.Diagnostic[]; modulesManifest: tsickle.ModulesManifest; externs: {}; emitSkipped: true; emittedFiles: never[]; }' but required in type 'EmitResult'.
build: src/summary.ts#L12
Cannot find module './inline_reexport_module' or its corresponding type declarations.
build: src/summary.ts#L415
'importDecl.importClause' is possibly 'undefined'.
build: src/summary.ts#L415
'importDecl.importClause.namedBindings' is possibly 'undefined'.
build: src/summary.ts#L415
Property 'elements' does not exist on type 'NamedImportBindings'.
build: src/summary.ts#L419
'importDecl.exportClause' is possibly 'undefined'.
build: src/summary.ts#L419
Property 'elements' does not exist on type 'NamedExportBindings'.
build: src/summary.ts#L443
'importDecl.importClause' is possibly 'undefined'.
build: src/summary.ts#L443
'importDecl.importClause.namedBindings' is possibly 'undefined'.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/