style: enable no-non-null-assertion rule (#2723)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
1 parent
1ad2e629ac
commit
18dc427bc3
16 files changed
+196
-147
No files matched your search
@@ -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': {
|
||||
|
||||
Reference in new issue
Block a user