Skip to content

Commit

Permalink
fix: replace svg2ttf and ttf2woff2 type definitions with @types defin…
Browse files Browse the repository at this point in the history
…itions

and add the rest of the declarations to the tsconfig
  • Loading branch information
casaper committed Dec 22, 2020
1 parent 563e7d7 commit 52b3b3f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
"@types/lodash": "^4.14.165",
"@types/node": "^14.14.13",
"jest": "^26.6.3",
"@types/svg2ttf": "^5.0.0",
"@types/ttf2woff2": "^2.0.0",
"mock-fs": "^4.13.0",
"prettier": "^2.2.1",
"semantic-release": "^17.3.0",
Expand Down
4 changes: 0 additions & 4 deletions src/types/modules/svg2ttf.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/types/modules/ttf2woff2.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"types": ["node", "jest"],
"esModuleInterop": true
},
"typeRoots": ["node_modules/@types"],
"typeRoots": ["node_modules/@types", "src/types/modules"],
"exclude": ["node_modules", "lib"],
"includes": ["src/**/*.ts"]
}

0 comments on commit 52b3b3f

Please sign in to comment.