Skip to content

Commit

Permalink
feat(type-utils): make isTypeReadonly's options param optional (#4415)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Jan 11, 2022
1 parent 5f89728 commit 3a07a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/type-utils/src/isTypeReadonly.ts
Expand Up @@ -243,7 +243,7 @@ function isTypeReadonlyRecurser(
function isTypeReadonly(
checker: ts.TypeChecker,
type: ts.Type,
options: ReadonlynessOptions,
options: ReadonlynessOptions = readonlynessOptionsDefaults,
): boolean {
return (
isTypeReadonlyRecurser(checker, type, options, new Set()) ===
Expand Down

0 comments on commit 3a07a56

Please sign in to comment.