  <h4 id="grammarkdown_CoreAsyncHost_registerKnownGrammar_member_1_" data-uid="grammarkdown!CoreAsyncHost#registerKnownGrammar:member(1)">registerKnownGrammar(name, file)</h4>
  <div class="markdown level1 summary"><p>Registers a known grammar for use with <code>@import</code> directives.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  
  <div class="codewrapper">
    <pre><code class="lang-typeScript hljs">registerKnownGrammar(name: string, fi