diff options
Diffstat (limited to 'types')
-rw-r--r-- | types/drive.ts | 13 | ||||
-rw-r--r-- | types/events.ts | 2 |
2 files changed, 1 insertions, 14 deletions
diff --git a/types/drive.ts b/types/drive.ts deleted file mode 100644 index e8aa2c4..0000000 --- a/types/drive.ts +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | /** | ||
2 | * Contract source: https://git.io/JBt3I | ||
3 | * | ||
4 | * Feel free to let us know via PR, if you find something broken in this contract | ||
5 | * file. | ||
6 | */ | ||
7 | |||
8 | import { InferDisksFromConfig } from '@adonisjs/core/build/config'; | ||
9 | import driveConfig from '../config/drive.js'; | ||
10 | |||
11 | declare module '@ioc:Adonis/Core/Drive' { | ||
12 | interface DisksList extends InferDisksFromConfig<typeof driveConfig> {} | ||
13 | } | ||
diff --git a/types/events.ts b/types/events.ts index 8bf1adc..54982bb 100644 --- a/types/events.ts +++ b/types/events.ts | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | import User from '#app/Models/User'; | 8 | import User from '#app/Models/User'; |
9 | 9 | ||
10 | declare module '@ioc:Adonis/Core/Event' { | 10 | declare module '@adonisjs/core/events' { |
11 | /* | 11 | /* |
12 | |-------------------------------------------------------------------------- | 12 | |-------------------------------------------------------------------------- |
13 | | Define typed events | 13 | | Define typed events |