Skip to content

Commit

Permalink
(fix/types): fix internal & external declaration errors (#542)
Browse files Browse the repository at this point in the history
- basically skipLibCheck: false should pass

- Babel declaration shouldn't have function braces and should have a
  return type
- enquirer had some typings changes in 2.3.4, seems to be due to
  changes in @types/node
  • Loading branch information
agilgur5 authored Mar 9, 2020
1 parent edd8045 commit d164dd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"chokidar-cli": "^1.2.2",
"cross-env": "7.0.0",
"cross-spawn": "^6.0.5",
"enquirer": "^2.3.0",
"enquirer": "^2.3.4",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-react-app": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare module 'eslint-config-react-app';
// @see line 226 of https://unpkg.com/@babel/[email protected]/lib/index.js
declare module '@babel/core' {
export const DEFAULT_EXTENSIONS: string[];
export function createConfigItem(boop: any[], options: any) {}
export function createConfigItem(boop: any[], options: any): any[];
}

// Rollup plugins
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2394,10 +2394,10 @@ end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"

enquirer@^2.3.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.2.tgz#1c30284907cadff5ed2404bd8396036dd3da070e"
integrity sha512-PLhTMPUXlnaIv9D3Cq3/Zr1xb7soeDDgunobyCmYLUG19n24dvC8i+ZZgm2DekGpDnx7JvFSHV7lxfM58PMtbA==
enquirer@^2.3.4:
version "2.3.4"
resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.4.tgz#c608f2e1134c7f68c1c9ee056de13f9b31076de9"
integrity sha512-pkYrrDZumL2VS6VBGDhqbajCM2xpkUNLuKfGPjfKaSIBKYopQbqEFyrOkRMIb2HDR/rO1kGhEt/5twBwtzKBXw==
dependencies:
ansi-colors "^3.2.1"

Expand Down

0 comments on commit d164dd2

Please sign in to comment.