Skip to content

Commit

Permalink
fix: Resolve types with TypeScript 4.5
Browse files Browse the repository at this point in the history
Our lovely TypeScript is finding every possible way to break things on every release.
I cannot find any documentation on "export maps" behavior, except these issues

microsoft/TypeScript#46860
microsoft/TypeScript#46334
  • Loading branch information
thetutlage committed Nov 21, 2021
1 parent fd6d3f4 commit ffa1610
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "5.4.0",
"description": "Core of AdonisJS",
"exports": {
".": "./build/providers/AppProvider.js",
".": {
"types": "./build/adonis-typings/index.d.ts",
"require": "./build/providers/AppProvider.js"
},
"./standalone": "./build/standalone.js",
"./Ignitor": "./build/src/Ignitor/index.js",
"./commands": "./build/commands/index.js",
Expand Down

0 comments on commit ffa1610

Please sign in to comment.