@@ -101,6 +101,7 @@ export class DigitalTwinGraph {
101
101
* @param context extension context
102
102
* @param fileName file name
103
103
*/
104
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
104
105
private static async resolveDefinition ( context : vscode . ExtensionContext , fileName : string ) : Promise < any > {
105
106
const filePath : string = context . asAbsolutePath (
106
107
path . join ( Constants . RESOURCE_FOLDER , Constants . DEFINITION_FOLDER , fileName )
@@ -112,6 +113,7 @@ export class DigitalTwinGraph {
112
113
* check if it is a valid node
113
114
* @param node node
114
115
*/
116
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
115
117
private static isValidNode ( node : any ) : boolean {
116
118
return node . id && node . name ;
117
119
}
@@ -284,6 +286,7 @@ export class DigitalTwinGraph {
284
286
* build DigitalTwin graph
285
287
* @param graphJson json object of graph definition
286
288
*/
289
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
287
290
private buildGraph ( graphJson : any ) : void {
288
291
this . parse ( graphJson ) ;
289
292
this . inheritProperties ( ) ;
@@ -295,6 +298,7 @@ export class DigitalTwinGraph {
295
298
* parse content of graph json
296
299
* @param graphJson json object of graph definition
297
300
*/
301
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
298
302
private parse ( graphJson : any ) : void {
299
303
for ( const key in graphJson ) {
300
304
if ( graphJson . hasOwnProperty ( key ) ) {
0 commit comments