File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { Clonable } from './clonable/Clonable';
8
8
* @class SymbolSpecifier
9
9
* @implements {Clonable}
10
10
*/
11
- export class SymbolSpecifier implements Clonable {
11
+ export class SymbolSpecifier implements Clonable < SymbolSpecifier > {
12
12
constructor ( public specifier : string , public alias ?: string ) { }
13
13
14
14
/**
Original file line number Diff line number Diff line change 2
2
* Interface for clonable objects. The clone() method creates a deep clone of the object.
3
3
*
4
4
* @export
5
+ * @template T
5
6
* @interface Clonable
6
7
*/
7
- export interface Clonable {
8
+ export interface Clonable < T > {
8
9
/**
9
10
* Create a deep clone of this object.
10
11
*
11
- * @template T
12
12
* @returns {T }
13
13
*
14
14
* @memberof Clonable
15
15
*/
16
- clone < T > ( ) : T ;
16
+ clone ( ) : T ;
17
17
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { Node } from '../Node';
8
8
* @export
9
9
* @interface Import
10
10
*/
11
- export interface Import extends Clonable , Node {
11
+ export interface Import extends Clonable < Import > , Node {
12
12
/**
13
13
* Indicates if the given import is "new" or a parsed one.
14
14
*
You can’t perform that action at this time.
0 commit comments