chore: update readme
This commit is contained in:
parent
6372fd5100
commit
fb5d905a75
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue