Convert enums to constant objects with as const
for better type safety
#673
test.yml
on: push
Matrix: lint / install
Matrix: test-deno / install
Matrix: test-node / node-tests-workspace
Annotations
16 errors
test-deno / install (2.1.x, kv)
Process completed with exit code 1.
|
test-deno / install (2.1.x, services)
The job was canceled because "_2_1_x_kv" failed.
|
test-deno / install (2.1.x, transport-deno)
The job was canceled because "_2_1_x_kv" failed.
|
test-deno / install (2.1.x, jetstream)
The job was canceled because "_2_1_x_kv" failed.
|
test-deno / install (2.1.x, jetstream)
Process completed with exit code 1.
|
test-deno / install (2.1.x, obj)
The job was canceled because "_2_1_x_kv" failed.
|
test-deno / install (2.1.x, obj)
Process completed with exit code 1.
|
test-deno / install (2.1.x, core)
The job was canceled because "_2_1_x_kv" failed.
|
test-deno / install (2.1.x, core)
The operation was canceled.
|
test-node / node-tests-workspace (2.1.x, 23.x)
Argument of type '"update"' is not assignable to parameter of type '"create"'.
|
test-node / node-tests-workspace (2.1.x, 23.x)
Type '"all"' is not assignable to type '"last_per_subject"'.
|
test-node / node-tests-workspace (2.1.x, 23.x)
Type '"new"' is not assignable to type '"last_per_subject"'.
|
test-node / node-tests-workspace (2.1.x, 23.x)
Type '"history"' is not assignable to type '""'.
|
test-node / node-tests-workspace (2.1.x, 23.x)
Type '"updates"' is not assignable to type '""'.
|
test-node / node-tests-workspace (2.1.x, 23.x)
This comparison appears to be unintentional because the types '""' and '"updates"' have no overlap.
|
test-node / node-tests-workspace (2.1.x, 23.x)
Process completed with exit code 2.
|