Skip to content

Commit e9de1cc

Browse files
authored
chore: fix lint issues (#495)
1 parent b4cd0c4 commit e9de1cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/schema/src/utils/ast-utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ export function mergeBaseModel(model: Model) {
5959
const dataModel = decl as DataModel;
6060

6161
dataModel.fields = dataModel.superTypes
62+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
6263
.flatMap((superType) => updateContainer(superType.ref!.fields, dataModel))
6364
.concat(dataModel.fields);
6465

6566
dataModel.attributes = dataModel.superTypes
67+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
6668
.flatMap((superType) => updateContainer(superType.ref!.attributes, dataModel))
6769
.concat(dataModel.attributes);
6870
});

0 commit comments

Comments
 (0)