Skip to content

Commit 4a30420

Browse files
committed
fix isolatedModules issue
1 parent 98b62a3 commit 4a30420

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

libs/interfaces/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { RenameFileOptions, RenameFileResponse } from "./Rename"
2020

2121
type FinalUrlOptions = ImageKitOptions & UrlOptions; // actual options used to construct url
2222

23-
export {
23+
export type {
2424
ImageKitOptions,
2525
Transformation,
2626
TransformationPosition,
@@ -57,4 +57,4 @@ export {
5757
RenameFileOptions,
5858
RenameFileResponse,
5959
};
60-
export { IKCallback } from "./IKCallback";
60+
export type { IKCallback } from "./IKCallback";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"scripts": {
8-
"compile": "tsc",
8+
"compile": "rm -rf dist* && tsc",
99
"test": "export NODE_ENV=test; nyc ./node_modules/mocha/bin/mocha --exit -t 40000 tests/*.js;ex=$?;unset NODE_ENV; exit $ex;",
1010
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
1111
"prepack": "npm run compile"

utils/authorization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ interface RequestOptions {
1111
};
1212
}
1313

14-
export { RequestOptions };
14+
export type { RequestOptions };

0 commit comments

Comments
 (0)