update typescript config

This commit is contained in:
Alexander Navarro 2023-09-09 18:49:36 -03:00
parent 897148e47f
commit 34a8c1db33
4 changed files with 56 additions and 4 deletions

View file

@ -1,13 +1,14 @@
---
import { getCollection } from 'astro:content';
import Layout from '../../layouts/Layout.astro';
import Table, { Header } from '../../components/Table.jsx';
import Layout from '@layouts/Layout.astro';
import Table, { type Header } from '@components/Table.jsx';
const games = await getCollection('games');
const headers: Header[] = [
{
key: 'index',
header: 'index',
},
{
key: 'title',