Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
Closes #2287
Closes #2286
  • Loading branch information
sindresorhus committed Jul 30, 2023
1 parent b1d61c1 commit ee9df00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions source/index.ts
Expand Up @@ -11,6 +11,8 @@ const defaults: InstanceDefaults = {
const got = create(defaults);

export default got;

// TODO: Remove this in the next major version.
export {got};

export {default as Options} from './core/options.js';
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Expand Up @@ -2,9 +2,9 @@
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "es2020", // Node.js 14
"target": "es2021", // Node.js 16
"lib": [
"es2020"
"es2021"
],
"noPropertyAccessFromIndexSignature": false,
"isolatedModules": true
Expand Down

0 comments on commit ee9df00

Please sign in to comment.