Skip to content

Commit ed10e9b

Browse files
Fix Prettier formatting issues in fast-instantiator.ts
Co-Authored-By: Harry Brundage <[email protected]>
1 parent 9b1bc6a commit ed10e9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fast-instantiator.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ export class InstantiatorBuilder<T extends IClassModelType<Record<string, IAnyTy
211211
private assignmentExpressionForReferenceType(key: string, type: IAnyType): string {
212212
const varName = `identifier${key}`;
213213

214-
const isSafeReference = type instanceof SafeReferenceType ||
214+
const isSafeReference =
215+
type instanceof SafeReferenceType ||
215216
((type instanceof MaybeType || type instanceof MaybeNullType) &&
216217
(type.type instanceof ReferenceType || type.type instanceof SafeReferenceType));
217218
const isRequiredReference = type instanceof ReferenceType;

0 commit comments

Comments
 (0)