Skip to content

Commit

Permalink
fix: add type graph
Browse files Browse the repository at this point in the history
  • Loading branch information
af-kanna authored Feb 14, 2023
1 parent 2ddb5ee commit fd31e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import VueT from 'vue';
import { MetaInfo } from 'vue-meta';
import { Thing, WithContext } from 'schema-dts';
import { Thing, Graph, WithContext } from 'schema-dts';

import createJsonldMixin from './createMixin';
import decorator from './decorator';

declare module 'vue' {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface ComponentOptions<V extends VueT> {
jsonld?: () => WithContext<Thing> | WithContext<Thing>[] | null;
jsonld?: () => WithContext<Thing> | WithContext<Thing>[] | Graph | null;
head?: MetaInfo | (() => MetaInfo);
}
}
Expand Down

0 comments on commit fd31e26

Please sign in to comment.