fixed typescript strict of CqlUtilities.test.ts CapabilityUtils.ts file (#787)

Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
Sunil Kumar Yadav
2021-07-15 11:21:36 +05:30
committed by GitHub
parent 7dd8bd567f
commit 103b3bf6c9
3 changed files with 18 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
export function getQuotedCqlIdentifier(identifier: string): string {
// Added return type optional undefined because passing undefined from test cases.
export function getQuotedCqlIdentifier(identifier: string | undefined): string | undefined {
let result = identifier;
if (!identifier) {
return result;