ng the sp interface
const sp = spfi();

const itemData = await sp.web.lists.getById('00000000-0000-0000-0000-000000000000').items.getById(1)();
</code></pre>
<p>The above two examples both work just fine but you may end up with slightly smaller bundle sizes using the first. Consider this example:</p>
<pre><code class="language-TypeScript">// this import statement will attach content-type functionality to list, web, and item
import &quot;@pnp/sp/content-types&quot;;

// this import statement will only attach