Skip to content

Commit

Permalink
keep interfaces as interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
alextaing committed Jul 6, 2022
1 parent 39bb54b commit bb66bf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/deprecated.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SearchCore } from './SearchCore';

/**
* @deprecated AnswersCore is deprecated and has been replaced by SearchCore
* @deprecated AnswersCore is deprecated and has been replaced by {@link SearchCore}
* @public
*/
export class AnswersCore extends SearchCore{}
5 changes: 3 additions & 2 deletions src/models/deprecated.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/* eslint-disable @typescript-eslint/no-empty-interface */
import { SearchError } from './answersapi/SearchError';
import { SearchRequest } from './core/SearchRequest';

/**
* @deprecated AnswersError is deprecated and has been replaced by {@link SearchError}
* @public
*/
export type AnswersError = SearchError;
export interface AnswersError extends SearchError{}

/**
* @deprecated AnswersRequest is deprecated and has been replaced by {@link SearchRequest}
* @public
*/
export type AnswersRequest = SearchRequest;
export interface AnswersRequest extends SearchRequest{}

0 comments on commit bb66bf0

Please sign in to comment.