<script>
  import Postlist from "$comp/postlist.svelte";

  /**
   * @type {{
   *  posts: import("$types/base").Post[],
   *  glancePost: import("$types/base").Post | null
   * }}
   */
  export let data;
</script>

<h1>Posts</h1>
<Postlist posts={data.posts} glancePost={data.glancePost}></Postlist>
