mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed dfcb7c3330 to master with MkDocs 1.3.0 and mike 1.1.2
This commit is contained in:
1 parent
b19c26da49
commit
0371d26c96
185 files changed
+13701
-40588
No files matched your search
@@ -905,7 +905,6 @@ only the first's arguments will be used.</p>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
<th align="left">Default value</th>
|
||||
<th align="left">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -913,12 +912,10 @@ only the first's arguments will be used.</p>
|
||||
<tr>
|
||||
<td align="left"><code>this</code></td>
|
||||
<td align="left"><code>StaticThis</code><<code>T</code>, <code>R</code>></td>
|
||||
<td align="left"><code>undefined</code></td>
|
||||
<td align="left">Implicit argument that is the child class type</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>strict</code></td>
|
||||
<td align="left"><code>boolean</code></td>
|
||||
<td align="left"><code>strict?</code></td>
|
||||
<td align="left"><code>true</code></td>
|
||||
<td align="left">If false will return <code>undefined</code> instead of throwing when an instance doesn't exist. Default: <code>true</code></td>
|
||||
</tr>
|
||||
@@ -927,13 +924,54 @@ only the first's arguments will be used.</p>
|
||||
<h4 id="returns_1">Returns<a class="headerlink" href="#returns_1" title="Permanent link">#</a></h4>
|
||||
<p><code>T</code></p>
|
||||
<p>An instance of the child class</p>
|
||||
<p>▸ <code>Static</code> <strong>getInstance</strong><<code>T</code>, <code>R</code>>(<code>this</code>, <code>strict</code>): <code>undefined</code> | <code>T</code></p>
|
||||
<h4 id="type-parameters_2">Type parameters<a class="headerlink" href="#type-parameters_2" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>T</code></td>
|
||||
<td align="left"><code>T</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>R</code></td>
|
||||
<td align="left">extends <code>any</code>[]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="parameters_2">Parameters<a class="headerlink" href="#parameters_2" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>this</code></td>
|
||||
<td align="left"><code>StaticThis</code><<code>T</code>, <code>R</code>></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><code>strict</code></td>
|
||||
<td align="left"><code>false</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_2">Returns<a class="headerlink" href="#returns_2" title="Permanent link">#</a></h4>
|
||||
<p><code>undefined</code> | <code>T</code></p>
|
||||
<hr />
|
||||
<h3 id="resetinstance">resetInstance<a class="headerlink" href="#resetinstance" title="Permanent link">#</a></h3>
|
||||
<p>▸ <code>Static</code> <strong>resetInstance</strong>(): <code>void</code></p>
|
||||
<p>Delete the instance of the child class.</p>
|
||||
<p>Note: this doesn't prevent callers of <code>getInstance</code> from storing the result in a global.</p>
|
||||
<p>There is <em>no</em> way in JS or TS to prevent globals like that.</p>
|
||||
<h4 id="returns_2">Returns<a class="headerlink" href="#returns_2" title="Permanent link">#</a></h4>
|
||||
<h4 id="returns_3">Returns<a class="headerlink" href="#returns_3" title="Permanent link">#</a></h4>
|
||||
<p><code>void</code></p>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user