You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
187 B
TypeScript
9 lines
187 B
TypeScript
3 years ago
|
export class TagQuery {
|
||
|
constructor(public name: string, public negate: boolean) {
|
||
|
}
|
||
|
|
||
|
public getNormalizedTag(): string {
|
||
|
return this.negate? "-" + this.name : this.name;
|
||
|
}
|
||
|
}
|