I am trying to find out how to 'trick' the compiler into thinking that I am using some definitions. 

I have the following in my constructor:

```
nv.addGraph(()=> {...})

```

And before my class I put:

```
public nv:nv;

```

And in my model I have:

```
export interface nv{
    addGraph:any;
    models:any;
    utils:any;
}

```

However, I still get an error:

```
 error TS2304: Cannot find name 'nv'.

```

I was already trying different approach, by creating the class:

```
export class nv{
    addGraph:any
}

```

But then I get the following error:

```
error TS2339: Property 'addGraph' does not exist on type 'typeof nv'.

```

Any ideas?