Import rxjs/Observable


I try to develop a plugin and try to import the rxjs/observable using the following code:

    ///<reference path="../node_modules/grafana-sdk-mocks/app/headers/common.d.ts" />
    import _ from 'lodash';
    import moment from 'moment';
    import config from 'app/core/config';
    import { Observable } from 'rxjs/Observable';

It does work for lodash, moment and config. But Observable is always “undefined”.

Can someone give me a hint how to solve this problem?

Thanks in advance

I use

import { Observable } from ‘rxjs’;

Can you change your line of code and try it again?