Skip to content

Commit

Permalink
fix: made a link in the ts page relative to the current url; removed …
Browse files Browse the repository at this point in the history
…declaration imports
  • Loading branch information
Luca committed Jan 8, 2021
1 parent 2791b64 commit 3a9c625
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default Vue.extend({
### Query params

Some query methods won't be accepted by the compiler if you define generics as in `$strapi.find<BlogPost[]>`
(e.g.: the array methods described [here](https://strapi.nuxtjs.org/strapi#findentity-params)).
(e.g.: the array methods described [here](/strapi#findentity-params)).

You can get around this issue by doing something like below.

Expand Down
2 changes: 0 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Vue from 'vue';
import { Context, NuxtAppOptions } from '@nuxt/types';
import { NuxtHTTPInstance } from '@nuxt/http';
import { NuxtCookies } from 'cookie-universal-nuxt';

Expand Down

0 comments on commit 3a9c625

Please sign in to comment.