Skip to content

Commit ac57ed2

Browse files
committed
FIX missing import
1 parent ac0a6cc commit ac57ed2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4178,7 +4178,7 @@ var templateCoreApiResult = {"compiler":[8,">= 4.3.0"],"main":function(container
41784178
};
41794179

41804180
return ((stack1 = container.invokePartial(lookupProperty(partials,"header"),depth0,{"name":"header","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
4181-
+ "\nexport type ApiResult = {\n readonly url: string;\n readonly ok: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly body: any;\n readonly response: AxiosResponse<any, any>;\n};";
4181+
+ "import { AxiosResponse } from \"axios\";\n\nexport type ApiResult = {\n readonly url: string;\n readonly ok: boolean;\n readonly status: number;\n readonly statusText: string;\n readonly body: any;\n readonly response: AxiosResponse<any, any>;\n};";
41824182
},"usePartial":true,"useData":true};
41834183

41844184
var axiosGetHeaders = {"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {

src/templates/core/ApiResult.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{>header}}
2+
import { AxiosResponse } from "axios";
23

34
export type ApiResult = {
45
readonly url: string;

0 commit comments

Comments
 (0)