<p dir="auto">I am trying to rebuild application with latest Angular 2.0.0 version and everything works fine except that there are some intellisense errors in observables. Is this an issue with rxjs module where the error is throwing. How can i get rid of these error:</p>
<p dir="auto">For some reason i cannot paste image here so getting somethign went wrong while uploading so providing link to stackoverflow:</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/39874609/intellisense-errors-while-rebuilding-application-in-angular-2-0-0-version" rel="nofollow">http://stackoverflow.com/questions/39874609/intellisense-errors-while-rebuilding-application-in-angular-2-0-0-version</a></p>
<p dir="auto">When using the ContentChild annotation with a type query it works very well but when I try to use string query - for some reason the annotated field is always null.</p>
<p dir="auto">the following is a SSCCE that reproduce the problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {Component, ContentChild} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';

@Component({
  template: `
    &lt;ng-content select=&quot;inner&quot;&gt;&lt;/ng-content&gt;
  `,
  selector: 'ctr'
})
class TestContainerComponent {
  @ContentChild('inner') inner;

  ngAfterContentInit() {
    console.log('inner: ', this.inner);
  }
}


@Component({
  template: `
    &lt;ctr&gt; &lt;inner&gt; SOME TEXT &lt;/inner&gt; &lt;/ctr&gt;
  `,
  selector: 'app',
  directives: [TestContainerComponent]
})
class TestAppComponent { }

function main() {
    return bootstrap(TestAppComponent).catch(err =&gt; console.error(err));
}

document.addEventListener('DOMContentLoaded', main);"><pre class="notranslate"><code class="notranslate">import {Component, ContentChild} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';

@Component({
  template: `
    &lt;ng-content select="inner"&gt;&lt;/ng-content&gt;
  `,
  selector: 'ctr'
})
class TestContainerComponent {
  @ContentChild('inner') inner;

  ngAfterContentInit() {
    console.log('inner: ', this.inner);
  }
}


@Component({
  template: `
    &lt;ctr&gt; &lt;inner&gt; SOME TEXT &lt;/inner&gt; &lt;/ctr&gt;
  `,
  selector: 'app',
  directives: [TestContainerComponent]
})
class TestAppComponent { }

function main() {
    return bootstrap(TestAppComponent).catch(err =&gt; console.error(err));
}

document.addEventListener('DOMContentLoaded', main);
</code></pre></div>
<p dir="auto">When running the above code the result is:<br>
console: inner: null<br>
view: SOME TEXT</p>
<p dir="auto">although the API docs show a usage example with a type query, the type definition indicates that the query can be either a Type or a string (Type | string)</p>