Skip to content

* **src/types.ts** #114

* **src/types.ts**

* **src/types.ts** #114

Triggered via push October 31, 2024 09:13
Status Failure
Total duration 26s
Artifacts

webpack.yml

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

Annotations

6 errors and 1 warning
build (20.x): src/repl.ts#L364
Type '{ get: (key: string) => ValOrErr; set: (key: string, val: Val) => undefined; functions: {}; print(str: string, withNewLine: boolean): void; exe: (name: string, args: Val[]) => ValOrErr; ... 4 more ...; recurBudget: number; }' is not assignable to type 'Ctx'.
build (20.x): src/test.ts#L575
Argument of type '{ get: (key: string) => ValOrErr; set: (key: string, val: Val) => string | undefined; print: (str: string, withNewLine: boolean) => void; exe: (name: string, args: Val[]) => ValOrErr; ... 5 more ...; recurBudget: number; }' is not assignable to parameter of type 'Ctx'.
build (20.x): src/web.ts#L224
Type '{ exe: (name: string, args: Val[]) => ValOrErr; get: any; set: any; print: (str: string) => void; functions: ExternalFunctions; env: { funcs: {}; vars: {}; mocks: {}; }; loopBudget: number; rangeBudget: number; callBudget: number; recurBudget: number; }' is not assignable to type 'Ctx'.
build (20.x): src/web.ts#L224
No value exists in scope for the shorthand property 'get'. Either declare one or provide an initializer.
build (20.x): src/web.ts#L225
Cannot find name 'set'. Did you mean 'Set'?
build (20.x)
Process completed with exit code 2.
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/