Skip to content

Commit

Permalink
Merge pull request #587 from motdotla/type-cleanup-2
Browse files Browse the repository at this point in the history
Cleanup types and flow
  • Loading branch information
motdotla committed Jan 14, 2022
2 parents 0c7fa9b + 16651fe commit 1d5be13
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 37 deletions.
23 changes: 0 additions & 23 deletions .flowconfig

This file was deleted.

3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ All notable changes to this project will be documented in this file. See [standa

## [Unreleased](https://github.com/motdotla/dotenv/compare/v11.0.0...master)

- Cleanup ([#587](https://github.com/motdotla/dotenv/pull/587))
- Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585))
- Remove flow ([#584](https://github.com/motdotla/dotenv/pull/584))


## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"./package.json": "./package.json"
},
"scripts": {
"dts-check": "tsc --project types/tsconfig.json",
"dts-check": "tsc --project tests/types/tsconfig.json",
"lint": "standard",
"postlint": "standard-markdown",
"pretest": "npm run lint && npm run dts-check",
Expand Down
File renamed without changes.
17 changes: 17 additions & 0 deletions tests/types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": ["es6"],
"strict": true,
"noEmit": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": ".",
"paths": {
"dotenv": ["../../lib/main.d.ts"]
}
},
"include": ["./test.ts", "../../main.d.ts"]
}
12 changes: 0 additions & 12 deletions types/tsconfig.json

This file was deleted.

0 comments on commit 1d5be13

Please sign in to comment.