fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #346 from hey-api/fix/ci-run-lint

fix: run prettier check with lint

authored by

Lubos and committed by
GitHub
fdef540e deeb38f8

+2 -2
+1 -1
packages/openapi-ts/package.json
··· 47 47 "dev": "rimraf dist && pnpm build-bundle --watch", 48 48 "format": "prettier --write .", 49 49 "lint:fix": "prettier --check . && eslint . --fix", 50 - "lint": "eslint .", 50 + "lint": "prettier --check . && eslint .", 51 51 "prepublishOnly": "pnpm build", 52 52 "test:coverage": "vitest run --config vitest.config.unit.ts --coverage", 53 53 "test:e2e": "vitest run --config vitest.config.e2e.ts",
+1 -1
packages/openapi-ts/src/utils/write/type.ts
··· 30 30 model.maxItems === model.minItems && 31 31 model.maxItems <= 100 32 32 ) { 33 - const types = toType(model.link) 33 + const types = toType(model.link); 34 34 const tuple = compiler.typedef.tuple(Array(model.maxItems).fill(types), model.isNullable); 35 35 return tuple; 36 36 }