scope</a>，然后在接口内定义了一些方法用于对星曜进行分析。</p><ul><li><p>接口定义</p><div class="language-ts"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#C792EA;">interface</span><span style="color:#A6ACCD;"> </span><span style="color:#FFCB6B;">IFunctionalHoroscope</span><span style="color:#A6ACCD;"> </span><span style="color:#C792EA;">extends</span><span style=