Skip to content

Commit

Permalink
fix(types): infer the extension as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-online committed Feb 15, 2024
1 parent 2f50b2c commit fac9ade
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
14 changes: 6 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"eslint.validate": [
"typescript"
],
"eslint.validate": ["typescript"],
"editor.tabSize": 2,
"editor.useTabStops": false,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": true,
"source.organizeImports": true
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit",
"source.organizeImports": "explicit"
},
"files.eol": "\n",
"typescript.tsdk": "node_modules\\typescript\\lib",
}
"typescript.tsdk": "node_modules\\typescript\\lib"
}
11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,8 @@
"description": "A simple, lightweight, and easy to use library for BunnyCDN's Stream API",
"author": "DanCodes <dan@dancodes.online> (https://dancodes.online/)",
"license": "Apache-2.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"browser": "dist/index.umd.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"main": "dist/index",
"types": "dist/index",
"scripts": {
"clean": "rimraf dist node_modules/.cache",
"lint": "eslint src tests --ext ts --fix",
Expand Down

0 comments on commit fac9ade

Please # to comment.