Skip to content

Commit

Permalink
chore: 🎨 remove carriage returns
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-isaac committed Jul 1, 2024
1 parent 37d1f32 commit ff5d2c3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
**/node_modules
**/dist
**/dist
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
uses: changesets/action@v1
with:
publish: pnpm run release
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
dist
dist
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ tsconfig.json
.eslintrc.js
.eslintignore
.prettierrc.js
.prettierignore
.prettierignore
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
**/node_modules
**/.changeset
**/.github
**/dist
**/dist
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ module.exports = {
singleQuote: true,
quoteProps: 'consistent',
trailingComma: 'all',
endOfLine: 'lf',
};
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const makeTypesafeMiddleware =
[requestKey in keyof Request]?: z.Schema<Request[requestKey]>;
},
>(
// The following decleration essentially states that the schemas can be of (and only of) any property of Request
// The following declaration essentially states that the schemas can be of (and only of) any property of Request
schemas: keyof Schemas extends keyof Request
? z.ZodObject<Schemas>
: z.ZodObject<{ [key in Exclude<keyof Schemas, keyof Request>]: never }>,
Expand Down

0 comments on commit ff5d2c3

Please sign in to comment.