Skip to content

Commit

Permalink
feat: enable exactOptioanlPropertyTypes option (#30)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Required, but potentially undefined does not have the same intent as optional. This
rule will enforce us to be explicit in our type declarations and how we expect octokit APIs should
be used.

fix #29
  • Loading branch information
oscard0m authored Sep 24, 2024
1 parent 046845d commit 1dc9e40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"strict": true,
"target": "es2022",
"resolveJsonModule": true,
"verbatimModuleSyntax": true
"verbatimModuleSyntax": true,
"exactOptionalPropertyTypes": true
}
}

0 comments on commit 1dc9e40

Please sign in to comment.