Skip to content

Commit

Permalink
generate index.d.ts ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Sep 14, 2024
1 parent 0adc11a commit b2f085b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/structures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ jobs:
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: '["src/structures/compiled", "dist"]'
add: '["src/structures/compiled", "dist", "index.d.ts"]'
committer_email: [email protected]
committer_name: Starman
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"library",
"quark"
],
"types": "./index.d.ts",
"exports": {
".": {
"default": "./index.js"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// Change this to match your project
"include": ["src/**/*"],
"include": ["src/**/*", "index.js"],
"exclude": ["node_modules", "**/*.spec.ts"],
"compilerOptions": {
// Tells TypeScript to read JS files, as
Expand Down

0 comments on commit b2f085b

Please sign in to comment.