Skip to content

Commit 8ef2c90

Browse files
committed
Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen
2 parents f50b7e4 + d9a7527 commit 8ef2c90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/templates/core/CancelablePromise.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface OnCancel {
2121
}
2222

2323
export class CancelablePromise<T> implements Promise<T> {
24-
readonly [Symbol.toStringTag]: string;
24+
readonly [Symbol.toStringTag]!: string;
2525

2626
private _isResolved: boolean;
2727
private _isRejected: boolean;

src/templates/core/axios/request.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{>header}}
22

3-
import axios, { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
3+
import axios, { AxiosError, type AxiosRequestConfig, type AxiosResponse } from 'axios';
44
import FormData from 'form-data';
55

66
import { ApiError } from './ApiError';

0 commit comments

Comments
 (0)