You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please advise on this as I am getting below error when I try to upgrade from v1.3.1 to v2.0.0.
ERRORinnode_modules/@coreui/utils/src/deepObjectsMerge.ts:11:9
TS7053: Elementimplicitlyhasan'any'typebecauseexpressionoftype'string'can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'. 9 | // Iterate through `source` properties and if an `Object` set property to merge of `target` and `source` properties 10 | for (const key of Object.keys(source)) { > 11 | if (source[key] instanceof Object) { | ^^^^^^^^^^^ 12 | Object.assign(source[key], deepObjectsMerge(target[key], source[key])) 13 | } 14 | }ERROR in node_modules/@coreui/utils/src/deepObjectsMerge.ts:12:21TS7053: Element implicitly has an 'any' typebecauseexpressionoftype 'string' can'tbeusedtoindextype'{}'.Noindexsignaturewithaparameteroftype'string'wasfoundontype'{}'.10|for(constkeyofObject.keys(source)){11|if(source[key]instanceofObject){>12|Object.assign(source[key],deepObjectsMerge(target[key],source[key]))|^^^^^^^^^^^13|}14|}15|ERRORinnode_modules/@coreui/utils/src/deepObjectsMerge.ts:12:51
TS7053: Elementimplicitlyhasan'any'typebecauseexpressionoftype'string'can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'. 10 | for (const key of Object.keys(source)) { 11 | if (source[key] instanceof Object) { > 12 | Object.assign(source[key], deepObjectsMerge(target[key], source[key])) | ^^^^^^^^^^^ 13 | } 14 | } 15 |ERROR in node_modules/@coreui/utils/src/deepObjectsMerge.ts:12:64TS7053: Element implicitly has an 'any' typebecauseexpressionoftype 'string' can'tbeusedtoindextype'{}'.Noindexsignaturewithaparameteroftype'string'wasfoundontype'{}'.10|for(constkeyofObject.keys(source)){11|if(source[key]instanceofObject){>12|Object.assign(source[key],deepObjectsMerge(target[key],source[key]))|^^^^^^^^^^^13|}14|}15|ERRORinnode_modules/@coreui/utils/src/omitByKeys.ts:12:36
TS7053: Elementimplicitlyhasan'any'typebecauseexpressionoftype'string'can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'. 10 | const objKeys = Object.keys(originalObject) 11 | for (let i = 0; i < objKeys.length; i++) { > 12 | !keys.includes(objKeys[i]) && (newObj[objKeys[i]] = originalObject[objKeys[i]]) | ^^^^^^^^^^^^^^^^^^ 13 | } 14 | return newObj 15 | }ERROR in node_modules/@coreui/utils/src/omitByKeys.ts:12:57TS7053: Element implicitly has an 'any' typebecauseexpressionoftype 'string' can'tbeusedtoindextype'{}'.Noindexsignaturewithaparameteroftype'string'wasfoundontype'{}'.10|constobjKeys=Object.keys(originalObject)11|for(leti=0;i<objKeys.length;i++){>12|!keys.includes(objKeys[i])&&(newObj[objKeys[i]]=originalObject[objKeys[i]])|^^^^^^^^^^^^^^^^^^^^^^^^^^13|}14|returnnewObj15|}ERRORinnode_modules/@coreui/utils/src/pickByKeys.ts:11:5
TS7053: Elementimplicitlyhasan'any'typebecauseexpressionoftype'string'can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'. 9 | const newObj = {} 10 | for (let i = 0; i < keys.length; i++) { > 11 | newObj[keys[i]] = originalObject[keys[i]] | ^^^^^^^^^^^^^^^ 12 | } 13 | return newObj 14 | }ERROR in node_modules/@coreui/utils/src/pickByKeys.ts:11:23TS7053: Element implicitly has an 'any' type because expression of type 'string' can'tbeusedtoindextype '{}'. No index signature with a parameter of type 'string' was found on type '{}'.
9 | const newObj = {}
10 | for (let i = 0; i < keys.length; i++) {
> 11 | newObj[keys[i]] = originalObject[keys[i]]
| ^^^^^^^^^^^^^^^^^^^^^^^
12 | }
13 | return newObj
14 | }
The text was updated successfully, but these errors were encountered:
Could you please advise on this as I am getting below error when I try to upgrade from v1.3.1 to v2.0.0.
The text was updated successfully, but these errors were encountered: