fix(2814): correct misleading error message for functions without bodies #35822
ci.yml
on: pull_request
Matrix: test
coverage
42s
lint
1m 0s
knip
36s
format
24s
typecheck
44s
smoke
47s
package-size
59s
misc
32s
self-check
33s
baselines
1m 17s
required
4s
Annotations
22 errors
|
self-check
Process completed with exit code 1.
|
|
self-check:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
typecheck
Process completed with exit code 1.
|
|
typecheck:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
smoke
Process completed with exit code 1.
|
|
smoke:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
Test Node 24 on ubuntu-latest
Process completed with exit code 1.
|
|
Test Node 24 on ubuntu-latest:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
Test Node lts/* on ubuntu-latest with --no-bundle
Process completed with exit code 1.
|
|
Test Node lts/* on ubuntu-latest with --no-bundle:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
package-size
Process completed with exit code 1.
|
|
package-size
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
coverage
Process completed with exit code 1.
|
|
coverage:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
Test Node 14 on ubuntu-latest
Process completed with exit code 1.
|
|
Test Node 14 on ubuntu-latest:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
baselines
Process completed with exit code 1.
|
|
Test Node 24 on windows-latest
Process completed with exit code 1.
|
|
Test Node 24 on windows-latest:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
Test Node 14 on windows-latest
Process completed with exit code 1.
|
|
Test Node 14 on windows-latest:
src/compiler/checker.ts#L43314
Property 'Function_with_bodies_can_only_merge_with_classes_that_are_ambient' does not exist on type '{ Unterminated_string_literal: DiagnosticMessage; Identifier_expected: DiagnosticMessage; _0_expected: DiagnosticMessage; ... 2126 more ...; _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: DiagnosticMessage; }'. Did you mean 'Functions_can_only_merge_with_classes_that_are_ambient'?
|
|
required
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
fix_baselines.patch
|
19.2 MB |
sha256:9250818b2253d45ce925ef33d7a38b55f04d71fdc813fac36acda44bc18a7488
|
|