-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add typescript checking to codebase and fix existing compilation…
… errors (#13) * Install typescript * Remove stray import * Add mocha types * Update schema-utils * Update loader-utils and add types * Add typing to main loader interface * Add type checking to PR workflow * Remove unnecessary second resolve parameter * Fix bad error throwing call in tests * prettier fix * Add webpack@2 to type checks * Enable strict type checks * Handle undefined `_compiler` value * Explicitly return null from path resolver if no valid resolution found * Check for possible undefined async callback object * Fix additional missing types in main file * Fix typing errors in test file * Add types for chai * Remove unnecessary break statements * Update memory-fs and add types * Handle possible undefined version string in test compilation * Fix remaining type errors in tests * Remove stray comment * Test compilation errors on invalid protobuf input Co-authored-by: Kevin Montag <[email protected]>
- Loading branch information
Showing
8 changed files
with
856 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.