mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 17:01:13 +00:00
fixed typescript strict of CqlUtilities.test.ts CapabilityUtils.ts file (#787)
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
This commit is contained in:
committed by
GitHub
parent
7dd8bd567f
commit
103b3bf6c9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user