chore: update readme

This commit is contained in:
Ayo 2023-07-16 21:53:43 +02:00
parent 6372fd5100
commit fb5d905a75

View file

@ -60,9 +60,9 @@ export type Data = typeof data;
import {deserialize} from '@ayco/astro-resume'; import {deserialize} from '@ayco/astro-resume';
/** /**
* reuse the type in the client * reuse the type in the client
* assuming this component's name is `Component.astro` * assuming this component's name is `Component.astro`
*/ */
import type {Data} from './Component.astro'; import type {Data} from './Component.astro';
const data = deserialize<Data>('my-data'); const data = deserialize<Data>('my-data');