Skip to content

Commit

Permalink
fix typescript support for new types package
Browse files Browse the repository at this point in the history
  • Loading branch information
rnegron committed Jan 29, 2024
1 parent 19d5532 commit 13d7739
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions example-apps/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"jest": "^25.5.3",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.5",
"@types/node-fetch": "^2.6.11",
"rimraf": "^3.0.2",
"typescript": "^4.9.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/generators/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const writeForStandaloneTemplate = (gen) => {
devDependencies: {
'@types/jest': '^26.0.23',
'@types/node': '^14',
'@types/node-fetch': '^2.6.11',
rimraf: '^3.0.2',
typescript: '^4.9.4',
},
Expand Down
1 change: 1 addition & 0 deletions packages/core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Definitions by: David Brownman <https://davidbrownman.com>

/// <reference types="node" />
/// <reference types="node-fetch" />

import { Agent } from 'http';
import { Headers } from 'node-fetch';
Expand Down

0 comments on commit 13d7739

Please sign in to comment.