Skip to content

Commit

Permalink
typings
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Aug 13, 2022
1 parent e0f0bbd commit 1de5b50
Show file tree
Hide file tree
Showing 49 changed files with 1,372 additions and 979 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
"docs:test": "docgen --source src --custom docs/index.yml",
"test": "cd test && node .",
"types": "tsc",
"postinstall": "node scripts/postinstall.mjs"
},
"repository": {
Expand Down Expand Up @@ -61,6 +62,7 @@
},
"devDependencies": {
"@discordjs/docgen": "^0.11.1",
"@types/node": "^16.4.7"
"@types/node": "^16.4.7",
"typescript": "^4.7.4"
}
}
12 changes: 12 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"include": [
"src/**/*"
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "./typings",
"declarationMap": true
}
}
Loading

0 comments on commit 1de5b50

Please sign in to comment.