feat(app): add value key to RTP type #34694
Annotations
5 errors and 11 warnings
js checks:
app/src/organisms/ProtocolDetails/ProtocolParameters/__tests__/ProtocolParameters.test.tsx#L15
Type '{ displayName: string; variableName: string; description: string; type: "boolean"; default: true; }' is not assignable to type 'RunTimeParameter'.
|
js checks:
app/src/organisms/ProtocolDetails/ProtocolParameters/__tests__/ProtocolParameters.test.tsx#L23
Type '{ displayName: string; variableName: string; description: string; type: "float"; suffix: string; min: number; max: number; default: number; }' is not assignable to type 'RunTimeParameter'.
|
js checks:
app/src/organisms/ProtocolDetails/ProtocolParameters/__tests__/ProtocolParameters.test.tsx#L33
Type '{ displayName: string; variableName: string; description: string; type: "str"; choices: { displayName: string; value: string; }[]; default: string; }' is not assignable to type 'RunTimeParameter'.
|
js checks:
app/src/organisms/ProtocolDetails/ProtocolParameters/__tests__/ProtocolParameters.test.tsx#L54
Type '{ displayName: string; variableName: string; description: string; type: "str"; choices: { displayName: string; value: string; }[]; default: string; }' is not assignable to type 'RunTimeParameter'.
|
js checks
Process completed with exit code 2.
|
js checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
js checks:
api-client/src/calibration/types.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/modules/api-types.ts#L1
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/modules/types.ts#L8
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/modules/types.ts#L15
All imports in the declaration are only used as types. Use `import type`
|
js checks:
api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
|
js checks:
api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
|
js checks:
api-client/src/protocols/__tests__/utils.test.ts#L17
All imports in the declaration are only used as types. Use `import type`
|