update typescript config
This commit is contained in:
parent
897148e47f
commit
34a8c1db33
4 changed files with 56 additions and 4 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue