style: enable no-non-null-assertion rule (#2723)

Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
LongYinanandPeng Xiao authored and GitHub committed 2023-06-08 07:23:20 +00:00
1 parent 1ad2e629ac
commit 18dc427bc3
16 files changed
+196 -147

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ export function getRequestResponseFromContext(context: ExecutionContext) {
}>();
return {
req: gqlContext.req,
res: gqlContext.req.res!,
res: gqlContext.req.res,
};
}
case 'http': {
@@ -37,7 +37,7 @@ export function getRequestResponseFromHost(host: ArgumentsHost) {
}>();
return {
req: gqlContext.req,
res: gqlContext.req.res!,
res: gqlContext.req.res,
};
}
case 'http': {