Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
fix (types): import must be inside module declaration, otherwise type…
Browse files Browse the repository at this point in the history
…script won't interpret types correctly
  • Loading branch information
maxgalbu committed Jun 17, 2022
1 parent 548ea89 commit 429f185
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adonis-typings/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext';

declare module "@ioc:Adonis/Addons/Jwt" {
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext';
import {
DatabaseTokenProviderConfig,
RedisTokenProviderConfig,
Expand Down

0 comments on commit 429f185

Please sign in to comment.