Skip to content

Replace jest with vitest #84

Replace jest with vitest

Replace jest with vitest #84

Triggered via push September 13, 2024 13:27
Status Failure
Total duration 58s
Artifacts

run.yml

on: push
Matrix: test
Publish on npm
0s
Publish on npm
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
test/cli.test.ts > cli > daily command > should display API errors: test/cli.test.ts#L79
AssertionError: expected 'Command failed with exit code 1: /opt…' to match '"status": 400' - Expected + Received - "status": 400 + Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-02 -e 2023-04-01 + (node:2010) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: + --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' + (Use `node --trace-warnings ...` to show where the warning was created) + (node:2010) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time + - Récupération de la consommation quotidienne + ✖ Conso API a répondu avec une erreur + ✖ Code : 401 + ✖ Réponse : { + "status": 401, + "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" + } ❯ test/cli.test.ts:79:38
test/cli.test.ts > cli > daily command > should bypass the saved token when there is a token parameter: test/cli.test.ts#L93
AssertionError: promise rejected "Error: Command failed with exit code 1: /… { …(12) }" instead of resolving ❯ test/cli.test.ts:93:79 Caused by: Caused by: Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 -t *** (node:2047) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2047) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la consommation quotidienne ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:93:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 -t ***', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 -t ***', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" daily -s 2023-04-01 -e 2023-04-02 -t ***', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2047) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2047) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la consommation quotidienne\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
test/cli.test.ts > cli > daily command > should output JSON when --format=json: test/cli.test.ts#L128
Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format json (node:2145) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2145) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la consommation quotidienne ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:128:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format json', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format json', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" daily -s 2023-04-01 -e 2023-04-02 --format json', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2145) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2145) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la consommation quotidienne\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
test/cli.test.ts > cli > daily command > should output CSV with 2 columns when --format=csv: test/cli.test.ts#L135
Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format csv (node:2171) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2171) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la consommation quotidienne ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:135:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format csv', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format csv', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" daily -s 2023-04-01 -e 2023-04-02 --format csv', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2171) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2171) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la consommation quotidienne\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
test/cli.test.ts > cli > daily command > should throw an error if the format is invalid: test/cli.test.ts#L146
AssertionError: expected 'Command failed with exit code 1: /opt…' to match 'Le format "xml" est invalide' - Expected + Received - Le format "xml" est invalide + Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --format xml + (node:2195) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: + --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' + (Use `node --trace-warnings ...` to show where the warning was created) + (node:2195) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time + - Récupération de la consommation quotidienne + ✖ Conso API a répondu avec une erreur + ✖ Code : 401 + ✖ Réponse : { + "status": 401, + "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" + } ❯ test/cli.test.ts:146:38
test/cli.test.ts > cli > daily command > should create directory and write to file when output flag is used : test/cli.test.ts#L153
Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --output /tmp/hb4grhdp4f/output.json --format json (node:2219) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2219) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la consommation quotidienne ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:153:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --output /tmp/hb4grhdp4f/output.json --format json', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --output /tmp/hb4grhdp4f/output.json --format json', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" daily -s 2023-04-01 -e 2023-04-02 --output "/tmp/hb4grhdp4f/output.json" --format json', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2219) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2219) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la consommation quotidienne\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
test/cli.test.ts > cli > daily command > should throw an error if the output path is invalid: test/cli.test.ts#L166
AssertionError: expected 'Command failed with exit code 1: /opt…' to match 'Impossible d\'écrire dans /' - Expected + Received - Impossible d'écrire dans / + Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 --output / --format json + (node:2243) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: + --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' + (Use `node --trace-warnings ...` to show where the warning was created) + (node:2243) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time + - Récupération de la consommation quotidienne + ✖ Conso API a répondu avec une erreur + ✖ Code : 401 + ✖ Réponse : { + "status": 401, + "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" + } ❯ test/cli.test.ts:166:38
test/cli.test.ts > cli > command > "daily" should display a graph: test/cli.test.ts#L178
Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02 (node:2267) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2267) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la consommation quotidienne ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:178:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts daily -s 2023-04-01 -e 2023-04-02', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" daily -s 2023-04-01 -e 2023-04-02', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2267) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2267) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la consommation quotidienne\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
test/cli.test.ts > cli > command > "loadcurve" should display a graph: test/cli.test.ts#L178
Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts loadcurve -s 2023-04-01 -e 2023-04-02 (node:2280) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2280) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la courbe de charge ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:178:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts loadcurve -s 2023-04-01 -e 2023-04-02', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts loadcurve -s 2023-04-01 -e 2023-04-02', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" loadcurve -s 2023-04-01 -e 2023-04-02', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2280) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2280) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la courbe de charge\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
test/cli.test.ts > cli > command > "maxpower" should display a graph: test/cli.test.ts#L178
Error: Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts maxpower -s 2023-04-01 -e 2023-04-02 (node:2292) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) (node:2292) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time - Récupération de la puissance maximale quotidienne ✖ Conso API a répondu avec une erreur ✖ Code : 401 ✖ Réponse : { "status": 401, "message": "Votre token est invalide ou ne permet pas d'accéder à ce PRM" } ❯ makeError node_modules/execa/lib/error.js:60:11 ❯ handlePromise node_modules/execa/index.js:118:26 ❯ test/cli.test.ts:178:28 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: /opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts maxpower -s 2023-04-01 -e 2023-04-02', command: '/opt/hostedtoolcache/node/18.20.4/x64/bin/node --experimental-vm-modules --loader=ts-node/esm ./bin/cli.ts maxpower -s 2023-04-01 -e 2023-04-02', escapedCommand: '"/opt/hostedtoolcache/node/18.20.4/x64/bin/node" --experimental-vm-modules "--loader=ts-node/esm" "./bin/cli.ts" maxpower -s 2023-04-01 -e 2023-04-02', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '(node:2292) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:\n--import \'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));\'\n(Use `node --trace-warnings ...` to show where the warning was created)\n(node:2292) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n- Récupération de la puissance maximale quotidienne\n✖ Conso API a répondu avec une erreur\n✖ Code : 401\n✖ Réponse : {\n "status": 401,\n "message": "Votre token est invalide ou ne permet pas d\'accéder à ce PRM"\n}', failed: true, timedOut: false, isCanceled: false, killed: false }
Test (Node v16)
The job was canceled because "_18" failed.
Lint: bin/auth.ts#L14
Unexpected any. Specify a different type
Lint: bin/cli.ts#L10
Unexpected any. Specify a different type
Lint: bin/metering.ts#L77
Unexpected any. Specify a different type
Lint: bin/store.ts#L10
Unexpected any. Specify a different type
Lint: lib/index.ts#L30
Unexpected any. Specify a different type
Lint: lib/index.ts#L73
Unexpected any. Specify a different type
Lint: test/fixtures/generate.ts#L48
Unexpected any. Specify a different type
Lint: test/fixtures/generate.ts#L86
Unexpected any. Specify a different type