Skip to content

Commit

Permalink
fix: type errors breaking build
Browse files Browse the repository at this point in the history
  • Loading branch information
bradennapier committed Jun 18, 2020
1 parent 88faaa2 commit 440bd00
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12
v14
19 changes: 2 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
## [1.1.1](https://github.com/bradennapier/react-style-vars/compare/v1.1.0...v1.1.1) (2020-06-14)
# 0.0.1


### Bug Fixes

* **release:** fix github release ([5f4f8d7](https://github.com/bradennapier/react-style-vars/commit/5f4f8d7e9376e9a0b338972e68854d6d2b6adfd1))

# 1.0.0 (2020-06-14)


### Bug Fixes

* 🐛 fix bug causing parentProvider to not be null initially ([05957bd](https://github.com/bradennapier/react-style-vars/commit/05957bdaa082c6db93e6eb5f611df213490fe0e1))


### Features

* 🎸 add typing to useStyleVars ([6f02ebd](https://github.com/bradennapier/react-style-vars/commit/6f02ebd2d027755484e75afa57bae8dea6c7e2b5))
Initial Release
5 changes: 4 additions & 1 deletion src/importHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ export class ImportPathInternalResolver {
return true;
}

resolveImport(oldImport: string, currentDir: string): string | undefined {
resolveImport(
oldImport: string,
currentDir: string,
): string | undefined | void {
const { config } = this;
const newImports = this.resolver.getImportSuggestions(
oldImport,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "es2015",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
Expand Down

0 comments on commit 440bd00

Please sign in to comment.