Skip to content

feat: add option noDefaultsForOptionals #1800

feat: add option noDefaultsForOptionals

feat: add option noDefaultsForOptionals #1800

Re-run triggered June 6, 2024 01:30
Status Failure
Total duration 2m 20s
Artifacts

lint.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type '{ boolValue: undefined; intValue: undefined; stringValue: undefined; mapValue: {}; }' is not assignable to type 'Proto2TestMessage' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type '{ boolValue: boolean | undefined; intValue: number | undefined; stringValue: string | undefined; mapValue: { [key: string]: string; }; }' is not assignable to type 'Proto2TestMessage' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type 'boolean | undefined' is not assignable to type 'boolean | null' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type 'number | undefined' is not assignable to type 'number | null' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type 'string | undefined' is not assignable to type 'string | null' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type '{ key: undefined; value: undefined; }' is not assignable to type 'Proto2TestMessage_MapValueEntry' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type '{ key: string | undefined; value: string | undefined; }' is not assignable to type 'Proto2TestMessage_MapValueEntry' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type 'string | undefined' is not assignable to type 'string | null' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-2.ts#L1
Type 'string | undefined' is not assignable to type 'string | null' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
build (20.x): integration/no-defaults-for-optionals-with-nulls/proto-3.ts#L1
Type '{ boolValue: undefined; intValue: undefined; stringValue: undefined; optionalBoolValue: null; optionalIntValue: null; optionalStringValue: null; mapValue: {}; }' is not assignable to type 'Proto3TestMessage' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/